summaryrefslogtreecommitdiff
path: root/functional_tests
diff options
context:
space:
mode:
authorHeng Liu <liucougar@gmail.com>2011-11-04 10:32:53 -0700
committerHeng Liu <liucougar@gmail.com>2011-11-04 10:32:53 -0700
commit378f8dc82fea04ff2a5a7e6f45a0238981187daa (patch)
treebb7fe74bbbf8f9d5fea0eed4551004761d07d6aa /functional_tests
parentee86f762d68d59b0e846fddd0a783a90843415f6 (diff)
downloadnose-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.py2
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