]> granicus.if.org Git - esp-idf/commitdiff
esp_http_client example test: Increase timeout when redirecting to HTTPS
authorAngus Gratton <angus@espressif.com>
Fri, 15 Jun 2018 06:33:37 +0000 (16:33 +1000)
committerAngus Gratton <gus@projectgus.com>
Fri, 15 Jun 2018 06:33:37 +0000 (16:33 +1000)
examples/protocols/esp_http_client/esp_http_client_test.py

index c982bb652734da4f9501d7457739b9441f3d654c..49194dd8c9dae54283dd635348204a486c90114c 100644 (file)
@@ -41,7 +41,7 @@ def test_examples_protocol_esp_http_client(env, extra_data):
     dut1.expect(re.compile(r"HTTP Relative path redirect Status = 200, content_length = (\d)"))
     dut1.expect(re.compile(r"HTTP Absolute path redirect Status = 200, content_length = (\d)"))
     dut1.expect(re.compile(r"HTTPS Status = 200, content_length = (\d)"))
-    dut1.expect(re.compile(r"HTTP redirect to HTTPS Status = 200, content_length = (\d)"))
+    dut1.expect(re.compile(r"HTTP redirect to HTTPS Status = 200, content_length = (\d)"), timeout=10)
     dut1.expect(re.compile(r"HTTP chunk encoding Status = 200, content_length = -1"))
     dut1.expect(re.compile(r"HTTP Stream reader Status = 200, content_length = (\d)"))
     dut1.expect("Finish http example")