Changeset - ca186b9b6ba1
[Not reviewed]
0 1 0
Branko Majic (branko) - 5 years ago 2018-11-27 23:26:15
branko@majic.rs
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.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
functional_tests/base.py
Show inline comments
 
@@ -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
 

	
0 comments (0 inline, 0 general)