File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
integration_tests/functional Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -654,7 +654,7 @@ def spawn(
654
654
if "no-api" not in self .jailer .extra_args :
655
655
self ._wait_create ()
656
656
if "config-file" in self .jailer .extra_args and self .iface :
657
- self .wait_for_up ()
657
+ self .wait_for_ssh_up ()
658
658
if self .log_file and log_level in ("Trace" , "Debug" , "Info" ):
659
659
self .check_log_message ("Running Firecracker" )
660
660
@@ -879,7 +879,7 @@ def start(self):
879
879
assert self .state == "Running"
880
880
881
881
if self .iface :
882
- self .wait_for_up ()
882
+ self .wait_for_ssh_up ()
883
883
884
884
def pause (self ):
885
885
"""Pauses the microVM"""
@@ -963,7 +963,7 @@ def restore_from_snapshot(
963
963
)
964
964
# This is not a "wait for boot", but rather a "VM still works after restoration"
965
965
if snapshot .net_ifaces and resume :
966
- self .wait_for_up ()
966
+ self .wait_for_ssh_up ()
967
967
return jailed_snapshot
968
968
969
969
def enable_entropy_device (self ):
@@ -1003,7 +1003,7 @@ def thread_backtraces(self):
1003
1003
)
1004
1004
return "\n " .join (backtraces )
1005
1005
1006
- def wait_for_up (self , timeout = 10 ):
1006
+ def wait_for_ssh_up (self , timeout = 10 ):
1007
1007
"""Wait for guest running inside the microVM to come up and respond.
1008
1008
1009
1009
:param timeout: seconds to wait.
Original file line number Diff line number Diff line change @@ -50,15 +50,15 @@ def test_pause_resume(uvm_nano):
50
50
51
51
# Verify guest is no longer active.
52
52
with pytest .raises (AssertionError ):
53
- microvm .wait_for_up ()
53
+ microvm .wait_for_ssh_up ()
54
54
55
55
# Verify emulation was indeed paused and no events from either
56
56
# guest or host side were handled.
57
57
verify_net_emulation_paused (microvm .flush_metrics ())
58
58
59
59
# Verify guest is no longer active.
60
60
with pytest .raises (AssertionError ):
61
- microvm .wait_for_up ()
61
+ microvm .wait_for_ssh_up ()
62
62
63
63
# Pausing the microVM when it is already `Paused` is allowed
64
64
# (microVM remains in `Paused` state).
You can’t perform that action at this time.
0 commit comments