test: shorten duration of some tests

This commit is contained in:
Bert Belder 2017-11-27 00:49:34 +01:00
parent 700f9f73a4
commit 387257e87f
3 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -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 {

View File

@ -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";