@@ -129,7 +129,6 @@ def test_rss_memory_lower(uvm_plain_any):
129129
130130 # Start the microvm.
131131 test_microvm .start ()
132- test_microvm .wait_for_up ()
133132
134133 _test_rss_memory_lower (test_microvm )
135134
@@ -151,7 +150,6 @@ def test_inflate_reduces_free(uvm_plain_any):
151150
152151 # Start the microvm
153152 test_microvm .start ()
154- test_microvm .wait_for_up ()
155153 firecracker_pid = test_microvm .firecracker_pid
156154
157155 # Get the free memory before ballooning.
@@ -198,7 +196,6 @@ def test_deflate_on_oom(uvm_plain_any, deflate_on_oom):
198196
199197 # Start the microvm.
200198 test_microvm .start ()
201- test_microvm .wait_for_up ()
202199 firecracker_pid = test_microvm .firecracker_pid
203200
204201 # We get an initial reading of the RSS, then calculate the amount
@@ -243,7 +240,6 @@ def test_reinflate_balloon(uvm_plain_any):
243240
244241 # Start the microvm.
245242 test_microvm .start ()
246- test_microvm .wait_for_up ()
247243 firecracker_pid = test_microvm .firecracker_pid
248244
249245 # First inflate the balloon to free up the uncertain amount of memory
@@ -303,7 +299,6 @@ def test_size_reduction(uvm_plain_any):
303299
304300 # Start the microvm.
305301 test_microvm .start ()
306- test_microvm .wait_for_up ()
307302 firecracker_pid = test_microvm .firecracker_pid
308303
309304 # Check memory usage.
@@ -348,7 +343,6 @@ def test_stats(uvm_plain_any):
348343
349344 # Start the microvm.
350345 test_microvm .start ()
351- test_microvm .wait_for_up ()
352346 firecracker_pid = test_microvm .firecracker_pid
353347
354348 # Give Firecracker enough time to poll the stats at least once post-boot
@@ -417,7 +411,6 @@ def test_stats_update(uvm_plain_any):
417411
418412 # Start the microvm.
419413 test_microvm .start ()
420- test_microvm .wait_for_up ()
421414 firecracker_pid = test_microvm .firecracker_pid
422415
423416 # Dirty 30MB of pages.
@@ -469,7 +462,6 @@ def test_balloon_snapshot(microvm_factory, guest_kernel, rootfs):
469462 )
470463
471464 vm .start ()
472- vm .wait_for_up ()
473465
474466 # Dirty 60MB of pages.
475467 make_guest_dirty_memory (vm .ssh , amount_mib = 60 )
@@ -496,8 +488,6 @@ def test_balloon_snapshot(microvm_factory, guest_kernel, rootfs):
496488 microvm .spawn ()
497489 microvm .restore_from_snapshot (snapshot , resume = True )
498490
499- microvm .wait_for_up ()
500-
501491 # Get the firecracker from snapshot pid, and open an ssh connection.
502492 firecracker_pid = microvm .firecracker_pid
503493
@@ -549,7 +539,6 @@ def test_memory_scrub(microvm_factory, guest_kernel, rootfs):
549539 )
550540
551541 microvm .start ()
552- microvm .wait_for_up ()
553542
554543 # Dirty 60MB of pages.
555544 make_guest_dirty_memory (microvm .ssh , amount_mib = 60 )
0 commit comments