From d3812f3740cba3292653dfe6d6a81c2580de7d8c Mon Sep 17 00:00:00 2001 From: Marcin Tomczyk Date: Thu, 15 Nov 2018 13:47:43 +0100 Subject: [PATCH] ONME-3983 Fix the defects found in IPV4 testing against packet dropping --- TESTS/netsocket/tcp/tcpsocket_echotest.cpp | 2 +- TESTS/netsocket/tcp/tcpsocket_echotest_burst.cpp | 2 +- TESTS/netsocket/tcp/tcpsocket_endpoint_close.cpp | 2 +- TESTS/netsocket/tcp/tcpsocket_recv_timeout.cpp | 2 +- TESTS/netsocket/tcp/tcpsocket_thread_per_socket_safety.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/TESTS/netsocket/tcp/tcpsocket_echotest.cpp b/TESTS/netsocket/tcp/tcpsocket_echotest.cpp index 30c773567f..d982c25d1b 100644 --- a/TESTS/netsocket/tcp/tcpsocket_echotest.cpp +++ b/TESTS/netsocket/tcp/tcpsocket_echotest.cpp @@ -26,7 +26,7 @@ using namespace utest::v1; namespace { static const int SIGNAL_SIGIO = 0x1; -static const int SIGIO_TIMEOUT = 5000; //[ms] +static const int SIGIO_TIMEOUT = 20000; //[ms] static const int BUFF_SIZE = 1200; static const int PKTS = 22; diff --git a/TESTS/netsocket/tcp/tcpsocket_echotest_burst.cpp b/TESTS/netsocket/tcp/tcpsocket_echotest_burst.cpp index 06f749c26b..fa86fa63a3 100644 --- a/TESTS/netsocket/tcp/tcpsocket_echotest_burst.cpp +++ b/TESTS/netsocket/tcp/tcpsocket_echotest_burst.cpp @@ -26,7 +26,7 @@ using namespace utest::v1; namespace { static const int SIGNAL_SIGIO = 0x1; -static const int SIGIO_TIMEOUT = 5000; //[ms] +static const int SIGIO_TIMEOUT = 20000; //[ms] static const int BURST_CNT = 100; static const int BURST_SIZE = 1220; diff --git a/TESTS/netsocket/tcp/tcpsocket_endpoint_close.cpp b/TESTS/netsocket/tcp/tcpsocket_endpoint_close.cpp index 8dfc295328..88e40f699a 100644 --- a/TESTS/netsocket/tcp/tcpsocket_endpoint_close.cpp +++ b/TESTS/netsocket/tcp/tcpsocket_endpoint_close.cpp @@ -26,7 +26,7 @@ using namespace utest::v1; namespace { static const int SIGNAL_SIGIO = 0x1; -static const int SIGIO_TIMEOUT = 5000; //[ms] +static const int SIGIO_TIMEOUT = 20000; //[ms] } static void _sigio_handler(osThreadId id) diff --git a/TESTS/netsocket/tcp/tcpsocket_recv_timeout.cpp b/TESTS/netsocket/tcp/tcpsocket_recv_timeout.cpp index 4fd0008c03..46760bac03 100644 --- a/TESTS/netsocket/tcp/tcpsocket_recv_timeout.cpp +++ b/TESTS/netsocket/tcp/tcpsocket_recv_timeout.cpp @@ -26,7 +26,7 @@ using namespace utest::v1; namespace { static const int SIGNAL_SIGIO = 0x1; -static const int SIGIO_TIMEOUT = 5000; //[ms] +static const int SIGIO_TIMEOUT = 20000; //[ms] } static void _sigio_handler(osThreadId id) diff --git a/TESTS/netsocket/tcp/tcpsocket_thread_per_socket_safety.cpp b/TESTS/netsocket/tcp/tcpsocket_thread_per_socket_safety.cpp index 969e267a10..a4a29d3ccc 100644 --- a/TESTS/netsocket/tcp/tcpsocket_thread_per_socket_safety.cpp +++ b/TESTS/netsocket/tcp/tcpsocket_thread_per_socket_safety.cpp @@ -27,7 +27,7 @@ using namespace utest::v1; namespace { static const int SIGNAL_SIGIO1 = 0x1; static const int SIGNAL_SIGIO2 = 0x2; -static const int SIGIO_TIMEOUT = 5000; //[ms] +static const int SIGIO_TIMEOUT = 20000; //[ms] Thread thread(osPriorityNormal, tcp_global::TCP_OS_STACK_SIZE); volatile bool running = true;