mirror of https://github.com/ARMmbed/mbed-os.git
ONME-3983 Fix the defects found in IPV4 testing against packet dropping
parent
0404701b5f
commit
d3812f3740
|
@ -26,7 +26,7 @@ using namespace utest::v1;
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
static const int SIGNAL_SIGIO = 0x1;
|
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 BUFF_SIZE = 1200;
|
||||||
static const int PKTS = 22;
|
static const int PKTS = 22;
|
||||||
|
|
|
@ -26,7 +26,7 @@ using namespace utest::v1;
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
static const int SIGNAL_SIGIO = 0x1;
|
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_CNT = 100;
|
||||||
static const int BURST_SIZE = 1220;
|
static const int BURST_SIZE = 1220;
|
||||||
|
|
|
@ -26,7 +26,7 @@ using namespace utest::v1;
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
static const int SIGNAL_SIGIO = 0x1;
|
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)
|
static void _sigio_handler(osThreadId id)
|
||||||
|
|
|
@ -26,7 +26,7 @@ using namespace utest::v1;
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
static const int SIGNAL_SIGIO = 0x1;
|
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)
|
static void _sigio_handler(osThreadId id)
|
||||||
|
|
|
@ -27,7 +27,7 @@ using namespace utest::v1;
|
||||||
namespace {
|
namespace {
|
||||||
static const int SIGNAL_SIGIO1 = 0x1;
|
static const int SIGNAL_SIGIO1 = 0x1;
|
||||||
static const int SIGNAL_SIGIO2 = 0x2;
|
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);
|
Thread thread(osPriorityNormal, tcp_global::TCP_OS_STACK_SIZE);
|
||||||
volatile bool running = true;
|
volatile bool running = true;
|
||||||
|
|
Loading…
Reference in New Issue