From 442b57b3eef919392ac3fea2f7f4caa9ca545f91 Mon Sep 17 00:00:00 2001 From: Anton Maklakov Date: Thu, 13 Jun 2019 10:05:14 +0700 Subject: [PATCH] ci: Adjust more 'spawn' settings in test_confserver --- tools/kconfig_new/test/test_confserver.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/kconfig_new/test/test_confserver.py b/tools/kconfig_new/test/test_confserver.py index 20fce7e03..ee9cf4349 100755 --- a/tools/kconfig_new/test/test_confserver.py +++ b/tools/kconfig_new/test/test_confserver.py @@ -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)