File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ nsapi_error_t tcpsocket_connect_to_discard_srv(TCPSocket &sock);
30
30
int split2half_rmng_tcp_test_time (); // [s]
31
31
32
32
namespace tcp_global {
33
- static const int TESTS_TIMEOUT = 480 ;
34
- static const int TCP_OS_STACK_SIZE = 1024 ;
33
+ static const int TESTS_TIMEOUT = 960 ;
34
+ static const int TCP_OS_STACK_SIZE = 2048 ;
35
35
36
36
static const int RX_BUFF_SIZE = 1220 ;
37
37
static const int TX_BUFF_SIZE = 1220 ;
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ static const int SIGNAL_SIGIO1 = 0x1;
29
29
static const int SIGNAL_SIGIO2 = 0x2 ;
30
30
static const int SIGIO_TIMEOUT = 5000 ; // [ms]
31
31
32
- Thread thread;
32
+ Thread thread (osPriorityNormal, tcp_global::TCP_OS_STACK_SIZE) ;
33
33
volatile bool running = true ;
34
34
}
35
35
@@ -50,8 +50,8 @@ static void check_const_len_rand_sequence()
50
50
sock.sigio (callback (_sigio_handler1, Thread::gettid ()));
51
51
52
52
static const int BUFF_SIZE = 10 ;
53
- char rx_buff[BUFF_SIZE] = {0 };
54
- char tx_buff[BUFF_SIZE] = {0 };
53
+ static char rx_buff[BUFF_SIZE] = {0 };
54
+ static char tx_buff[BUFF_SIZE] = {0 };
55
55
56
56
57
57
int bytes2process;
@@ -107,8 +107,8 @@ static void check_var_len_rand_sequence()
107
107
sock.sigio (callback (_sigio_handler2, Thread::gettid ()));
108
108
109
109
static const int BUFF_SIZE = 1001 ;
110
- char rx_buff[BUFF_SIZE];
111
- char tx_buff[BUFF_SIZE];
110
+ static char rx_buff[BUFF_SIZE];
111
+ static char tx_buff[BUFF_SIZE];
112
112
static const int pkt_size_diff = 100 ;
113
113
114
114
int bytes2process;
You can’t perform that action at this time.
0 commit comments