Commit 49db07b
chore: udpate sample_latency to use FCMetricsMonitor
FCMetricsMonitor class relies on `microvm` having a valid
`kernel_file` to set guest kernel dimensions.
sample_latency test restores microvm from snapshot so it
didn't need to have a guest kernel passed while building
microvm object.
Passing guest kernel shouldn't affect the restore test
but it will help FCMetricsMonitor to get the right guest
kernel version so, update `sample_latency` to pass guest
kernel while building the microvm.
Signed-off-by: Sudan Landge <sudanl@amazon.com>1 parent 6f16d70 commit 49db07b
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| 88 | + | |
86 | 89 | | |
87 | 90 | | |
88 | 91 | | |
| |||
162 | 165 | | |
163 | 166 | | |
164 | 167 | | |
| 168 | + | |
165 | 169 | | |
166 | 170 | | |
167 | 171 | | |
| |||
0 commit comments