ci: Adjust more 'spawn' settings in test_confserver

This commit is contained in:
Anton Maklakov 2019-06-13 10:05:14 +07:00
parent 28e0a17e0a
commit 442b57b3ee

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=2)
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)