diff options
author | Heng Liu <liucougar@gmail.com> | 2011-11-04 10:32:53 -0700 |
---|---|---|
committer | Heng Liu <liucougar@gmail.com> | 2011-11-04 10:32:53 -0700 |
commit | 378f8dc82fea04ff2a5a7e6f45a0238981187daa (patch) | |
tree | bb7fe74bbbf8f9d5fea0eed4551004761d07d6aa /functional_tests | |
parent | ee86f762d68d59b0e846fddd0a783a90843415f6 (diff) | |
download | nose-378f8dc82fea04ff2a5a7e6f45a0238981187daa.tar.gz |
it seems the failure in the jenkins is related to speed of the test machine
wait longer before sending in SIGINT signal
Diffstat (limited to 'functional_tests')
-rw-r--r-- | functional_tests/test_multiprocessing/test_keyboardinterrupt.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functional_tests/test_multiprocessing/test_keyboardinterrupt.py b/functional_tests/test_multiprocessing/test_keyboardinterrupt.py index 03c0890..c70d601 100644 --- a/functional_tests/test_multiprocessing/test_keyboardinterrupt.py +++ b/functional_tests/test_multiprocessing/test_keyboardinterrupt.py @@ -29,7 +29,7 @@ def keyboardinterrupt(case): logfile = mktemp() process = Popen([sys.executable,runner,os.path.join(support,case),logfile], preexec_fn=os.setsid, stdout=PIPE, stderr=PIPE, bufsize=-1) - sleep(0.5) + sleep(1) os.killpg(process.pid, signal.SIGINT) return process, logfile |