test: shorten duration of some tests
This commit is contained in:
parent
700f9f73a4
commit
387257e87f
@ -12,7 +12,7 @@
|
||||
#include <WS2tcpip.h>
|
||||
|
||||
#define NUM_SOCKETS 10000
|
||||
#define RUN_TIME 10000
|
||||
#define RUN_TIME 5000
|
||||
#define PRINT_INTERVAL 500
|
||||
|
||||
static SOCKET create_and_add_socket(HANDLE epfd) {
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
#include "win.h"
|
||||
|
||||
#define THREAD_COUNT 20
|
||||
#define TEST_ITERATIONS 100
|
||||
#define TEST_ITERATIONS 50
|
||||
#define TEST_LENGTH 100
|
||||
|
||||
typedef struct test_context {
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
|
||||
#define LISTEN_PORT 12345
|
||||
#define NUM_PINGERS 10000
|
||||
#define RUN_TIME 10000
|
||||
#define RUN_TIME 5000
|
||||
|
||||
static const char PING[] = "PING";
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user