From f658e19d91310f39ccff8fd06c9647f5e23df608 Mon Sep 17 00:00:00 2001 From: Tomas Sebestik Date: Mon, 31 May 2021 08:42:52 +0200 Subject: [PATCH] Add longer dut.expect timeout DNS -> 30s --- examples/protocols/http_request/example_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/protocols/http_request/example_test.py b/examples/protocols/http_request/example_test.py index 3c10c11949..475f00a42f 100644 --- a/examples/protocols/http_request/example_test.py +++ b/examples/protocols/http_request/example_test.py @@ -36,7 +36,7 @@ def test_examples_protocol_http_request(env, extra_data): # type: (tiny_test_fw ttfw_idf.log_performance('http_request_bin_size', '{}KB'.format(bin_size // 1024)) # start test dut1.start_app() - dut1.expect(re.compile(r'DNS lookup succeeded.')) + dut1.expect(re.compile(r'DNS lookup succeeded.'), timeout=30) # check if connected or not dut1.expect(' ... connected', timeout=60) dut1.expect(' ... socket send success')