Skip to content

Commit d6b77da

Browse files
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.
1 parent c385e14 commit d6b77da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TESTS/netsocket/dns/asynchronous_dns_timeouts.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ void ASYNCHRONOUS_DNS_TIMEOUTS()
6565
TEST_ASSERT(result_exp_timeout > 0);
6666

6767
// Give event queue time to finalise before destructors
68-
ThisThread::sleep_for(2000);
68+
ThisThread::sleep_for(12000);
6969

7070
nsapi_dns_call_in_set(0);
7171
}

0 commit comments

Comments
 (0)