We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1538710 commit 90774bdCopy full SHA for 90774bd
1 file changed
tests/framework/microvm.py
@@ -694,14 +694,14 @@ def spawn(
694
# 1 sec since we are rechecking the existence of the socket 5 times
695
# and leave 0.2 delay between them.
696
if "no-api" not in self.jailer.extra_args:
697
- self._wait_create()
+ self._wait_for_api_socket()
698
if "config-file" in self.jailer.extra_args and self.iface:
699
self.wait_for_ssh_up()
700
if self.log_file and log_level in ("Trace", "Debug", "Info"):
701
self.check_log_message("Running Firecracker")
702
703
@retry(wait=wait_fixed(0.2), stop=stop_after_attempt(5), reraise=True)
704
- def _wait_create(self):
+ def _wait_for_api_socket(self):
705
"""Wait until the API socket and chroot folder are available."""
706
os.stat(self.jailer.api_socket_path())
707
0 commit comments