From d6b77da270c0281c2516ab10c5af3ade348d4f21 Mon Sep 17 00:00:00 2001 From: Michal Paszta Date: Mon, 30 Sep 2019 18:35:03 +0300 Subject: [PATCH] Increase timeout in DNS_TIMEOUTS test for ESP8266 The test floods the device with UDP requests (it skips the 100 ms delay to simulate instant timeout). ESP8266 starts responding with "busy p..." message. It needs more time to process the data and recover for subsequent tests. --- TESTS/netsocket/dns/asynchronous_dns_timeouts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TESTS/netsocket/dns/asynchronous_dns_timeouts.cpp b/TESTS/netsocket/dns/asynchronous_dns_timeouts.cpp index fd4d168c5f..f8aee5c543 100644 --- a/TESTS/netsocket/dns/asynchronous_dns_timeouts.cpp +++ b/TESTS/netsocket/dns/asynchronous_dns_timeouts.cpp @@ -65,7 +65,7 @@ void ASYNCHRONOUS_DNS_TIMEOUTS() TEST_ASSERT(result_exp_timeout > 0); // Give event queue time to finalise before destructors - ThisThread::sleep_for(2000); + ThisThread::sleep_for(12000); nsapi_dns_call_in_set(0); }