Merge branch 'bugfix/ci_confserver_timeout_again_v3.2' into 'release/v3.2'

ci: Adjust more 'spawn' settings in test_confserver (backport v3.2)

See merge request espressif/esp-idf!5321
This commit is contained in:
Anton Maklakov 2020-02-25 19:48:01 +08:00
commit ce0808c7be

View file

@ -56,9 +56,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=0.5) p = pexpect.spawn(cmdline, timeout=30, logfile=args.logfile, echo=False, use_poll=True, maxread=1)
p.logfile = args.logfile
p.setecho(False)
def expect_json(): def expect_json():
# run p.expect() to expect a json object back, and return it as parsed JSON # run p.expect() to expect a json object back, and return it as parsed JSON