ci: Adjust more 'spawn' settings in test_confserver

pull/7874/head
Anton Maklakov 2019-06-13 10:05:14 +07:00
rodzic 28e0a17e0a
commit 442b57b3ee
1 zmienionych plików z 1 dodań i 3 usunięć

Wyświetl plik

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