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 d9ecb0f commit 43ddc9eCopy full SHA for 43ddc9e
tests/first_stage_test.py
@@ -225,9 +225,12 @@ def test_timeout_error(self):
225
5. Python reads `b''` (i.e. EOF) from stdin (a closed pipe)
226
6. Python runs `''` (a valid script) and exits with success
227
"""
228
+ # We do not want to wait the default of 10s, change it to 0.1s
229
+ self.conn._first_stage_timeout = 0.1
230
+ args = self.conn.get_boot_command()
231
232
proc = testlib.subprocess.Popen(
- args=self.args,
233
+ args=args,
234
stdout=testlib.subprocess.PIPE,
235
stderr=testlib.subprocess.PIPE,
236
preexec_fn=sys.stdin.close,
0 commit comments