You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/framework/microvm.py
+21-21
Original file line number
Diff line number
Diff line change
@@ -300,9 +300,9 @@ def kill(self):
300
300
backend.kill()
301
301
self.disks_vhost_user.clear()
302
302
303
-
assert"Shutting down VM after intercepting signal"notinself.log_data, (
304
-
self.log_data
305
-
)
303
+
assert (
304
+
"Shutting down VM after intercepting signal"notinself.log_data
305
+
), self.log_data
306
306
307
307
try:
308
308
ifself.firecracker_pid:
@@ -331,9 +331,9 @@ def kill(self):
331
331
f"ps aux | grep {self.jailer.jailer_id}"
332
332
)
333
333
# make sure firecracker was killed
334
-
assertstderr==""and"firecracker"notinstdout, (
335
-
f"Firecracker reported its pid {self.firecracker_pid}, which was killed, but there still exist processes using the supposedly dead Firecracker's jailer_id: {stdout}"
336
-
)
334
+
assert (
335
+
stderr==""and"firecracker"notinstdout
336
+
), f"Firecracker reported its pid {self.firecracker_pid}, which was killed, but there still exist processes using the supposedly dead Firecracker's jailer_id: {stdout}"
337
337
338
338
# Mark the microVM as not spawned, so we avoid trying to kill twice.
0 commit comments