We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4106863 commit 4100110Copy full SHA for 4100110
tests/integration_tests/functional/test_serial_io.py
@@ -5,7 +5,7 @@
5
import fcntl
6
import os
7
import platform
8
-import subprocess
+import signal
9
import termios
10
import time
11
@@ -184,9 +184,8 @@ def test_serial_block(uvm_plain_any):
184
fc_metrics = test_microvm.flush_metrics()
185
init_count = fc_metrics["uart"]["missed_write_count"]
186
187
- screen_pid = test_microvm.screen_pid
188
# Stop `screen` process which captures stdout so we stop consuming stdout.
189
- subprocess.check_call("kill -s STOP {}".format(screen_pid), shell=True)
+ os.kill(test_microvm.screen_pid, signal.SIGSTOP)
190
191
# Generate a random text file.
192
test_microvm.ssh.check_output(
0 commit comments