Skip to content

Commit ce88931

Browse files
kalyazinzulinx86
authored andcommitted
test(ballon): add wait_for_up in test_deflate_on_oom
test_deflate_on_oom started failing recently while calling `make_guest_dirty_memory()` and instantiating an SSH object. It is likely because the guest is not able to set up the SSH server by the time we try to connect for the first time. Signed-off-by: Nikita Kalyazin <[email protected]>
1 parent 40a57fc commit ce88931

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/integration_tests/functional/test_balloon.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ def test_deflate_on_oom(uvm_plain_any, deflate_on_oom):
198198

199199
# Start the microvm.
200200
test_microvm.start()
201+
test_microvm.wait_for_up()
201202
firecracker_pid = test_microvm.firecracker_pid
202203

203204
# We get an initial reading of the RSS, then calculate the amount

0 commit comments

Comments
 (0)