From ca186b9b6ba1fd2571d228c733381d1ffffcdba6 2018-11-27 23:26:15 From: Branko Majic Date: 2018-11-27 23:26:15 Subject: [PATCH] GC-28: Increase timeout for running interactive commands in tests: - Running the functional tests from within Vagrant machine that involve interactive commands could result in timeout due to slower execution. Double the timeout to avoid such issues. Long-term might be worth it to look into why this happens at all. --- diff --git a/functional_tests/base.py b/functional_tests/base.py index dffee6eb6aedccbea87730605e5020b77f88b3a8..9897d2d4e1b96c13e90fd5fdb45d4a0116519a76 100644 --- a/functional_tests/base.py +++ b/functional_tests/base.py @@ -89,7 +89,7 @@ def run_interactive_command(prompt_answers, command, *args): # stdout/stderr. output_stream = io.StringIO() send_stream = io.StringIO() - process = pexpect.spawnu(command, list(args), timeout=2) + process = pexpect.spawnu(command, list(args), timeout=4) process.logfile_read = output_stream process.logfile_send = send_stream