ci: Adjust more 'spawn' settings in test_confserver

This commit is contained in:
Anton Maklakov 2019-06-13 10:05:14 +07:00 committed by bot
parent fb2d0de8f9
commit 013b8ab34c

View file

@ -51,9 +51,7 @@ def main():
cmdline = "../confserver.py --kconfig Kconfig --config %s" % temp_sdkconfig_path
print("Running: %s" % cmdline)
p = pexpect.spawn(cmdline, timeout=0.5)
p.logfile = args.logfile
p.setecho(False)
p = pexpect.spawn(cmdline, timeout=30, logfile=args.logfile, echo=False, use_poll=True, maxread=1)
p.expect("Server running.+\r\n")
initial = expect_json(p)