Skip to content

Commit

Permalink
Merge branch 'ctrl-c-test' into develop
Browse files Browse the repository at this point in the history
* ctrl-c-test:
  Bump up ctrl c timeout to 60 seconds in test
  • Loading branch information
jamesls committed Mar 2, 2015
2 parents 4b1156f + 3bf96a3 commit 0881cb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/customizations/s3/test_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0881cb0

Please sign in to comment.