Skip to content

Commit 51680cb

Browse files
authored
Merge pull request #11601 from michalpasztamobica/tests_dns_timeouts_esp8266
DNS tests modification for ESP8266-specific scenario
2 parents f1295b9 + 3297445 commit 51680cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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
}

TESTS/netsocket/dns/dns_tests.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ namespace dns_global {
7171
#ifdef MBED_GREENTEA_TEST_DNSSOCKET_TIMEOUT_S
7272
static const int TESTS_TIMEOUT = MBED_GREENTEA_TEST_DNSSOCKET_TIMEOUT_S;
7373
#else
74-
static const int TESTS_TIMEOUT = 10 * 60;
74+
static const int TESTS_TIMEOUT = 14 * 60;
7575
#endif
7676
}
7777

0 commit comments

Comments
 (0)