Cellular: WISE-1570 needs greater receiving timeout to pass UDPSOCKET_ECHOTEST_NONBLOCK test

Reason for needing greater timeout could be this test's performance.
UDPSOCKET_ECHOTEST_BURST_NONBLOCK is implementing the receiving
differently and is passing with 1 second timeout.
pull/10184/head
Mirela Chirica 2019-03-20 14:34:11 +02:00
parent 54602f55ba
commit ec3c6f37f9
1 changed files with 1 additions and 1 deletions

2
TESTS/netsocket/udp/udpsocket_echotest.cpp Normal file → Executable file
View File

@ -29,7 +29,7 @@ namespace {
static const int SIGNAL_SIGIO_RX = 0x1; static const int SIGNAL_SIGIO_RX = 0x1;
static const int SIGNAL_SIGIO_TX = 0x2; static const int SIGNAL_SIGIO_TX = 0x2;
static const int SIGIO_TIMEOUT = 5000; //[ms] static const int SIGIO_TIMEOUT = 5000; //[ms]
static const int WAIT2RECV_TIMEOUT = 1000; //[ms] static const int WAIT2RECV_TIMEOUT = 2000; //[ms]
static const int RETRIES = 2; static const int RETRIES = 2;
static const double EXPECTED_LOSS_RATIO = 0.0; static const double EXPECTED_LOSS_RATIO = 0.0;