From 3bf96a335add52b1a5cc0da699e8db1dc753c438 Mon Sep 17 00:00:00 2001 From: James Saryerwinnie Date: Mon, 2 Mar 2015 13:19:49 -0800 Subject: [PATCH] Bump up ctrl c timeout to 60 seconds in test The purpose of this test to just to ensure the process doesn't hang, and it dependent on the amount of time it takes to execute a task. Bumping this up to fix some sporadic failures we were seeing. --- tests/integration/customizations/s3/test_plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/customizations/s3/test_plugin.py b/tests/integration/customizations/s3/test_plugin.py index 71674d7e51cf..0568f3e2a5fb 100644 --- a/tests/integration/customizations/s3/test_plugin.py +++ b/tests/integration/customizations/s3/test_plugin.py @@ -438,10 +438,10 @@ def test_download_ctrl_c_does_not_hang(self): (bucket_name, local_foo_txt), wait_for_finish=False) # Give it some time to start up and enter it's main task loop. time.sleep(1) - # The process has 30 seconds to finish after being sent a Ctrl+C, + # The process has 60 seconds to finish after being sent a Ctrl+C, # otherwise the test fails. process.send_signal(signal.SIGINT) - deadline = time.time() + 30 + deadline = time.time() + 60 while time.time() < deadline: rc = process.poll() if rc is not None: