Greentea UDPSOCKET_RECV_TIMEOUT increase time tolerance

pull/9582/head
Michal Paszta 2019-02-01 14:22:05 +02:00
parent a12ab30f98
commit fba66cf7f3
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ void UDPSOCKET_RECV_TIMEOUT()
if (recvd == NSAPI_ERROR_WOULD_BLOCK) {
osSignalWait(SIGNAL_SIGIO, SIGIO_TIMEOUT);
printf("MBED: recvfrom() took: %dms\n", timer.read_ms());
TEST_ASSERT_INT_WITHIN(50, 150, timer.read_ms());
TEST_ASSERT_INT_WITHIN(51, 150, timer.read_ms());
continue;
} else if (recvd < 0) {
printf("[bt#%02d] network error %d\n", i, recvd);