Skip to content

Commit bdf1e20

Browse files
committed
drop sleep from failing test command in test_run_cmd_async
1 parent c2c7557 commit bdf1e20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/framework/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ def test_run_cmd_async(self):
609609
self.assertEqual(res, {'done': True, 'exit_code': 0, 'output': 'sleeping...\ntest123\n'})
610610

611611
# check asynchronous running of failing command
612-
error_test_cmd = "sleep 2; echo 'FAIL!' >&2; exit 123"
612+
error_test_cmd = "echo 'FAIL!' >&2; exit 123"
613613
cmd_info = run_cmd(error_test_cmd, asynchronous=True)
614614
error_pattern = 'cmd ".*" exited with exit code 123'
615615
self.assertErrorRegex(EasyBuildError, error_pattern, check_async_cmd, *cmd_info)

0 commit comments

Comments
 (0)