summaryrefslogtreecommitdiff
path: root/tests/tcp_shutdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcp_shutdown.c')
-rw-r--r--tests/tcp_shutdown.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/tcp_shutdown.c b/tests/tcp_shutdown.c
index 79d2754..075c943 100644
--- a/tests/tcp_shutdown.c
+++ b/tests/tcp_shutdown.c
@@ -1,6 +1,7 @@
/*
Copyright (c) 2012 Martin Sustrik All rights reserved.
Copyright 2016 Franklin "Snaipe" Mathieu <franklinmathieu@gmail.com>
+ Copyright 2017 Garrett D'Amore <garrett@damore.org>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
@@ -34,7 +35,12 @@
/* Stress test the TCP transport. */
+#ifdef NN_HAVE_WSL
+#define THREAD_COUNT 10
+#else
#define THREAD_COUNT 100
+#endif
+
#define TEST2_THREAD_COUNT 10
#define MESSAGES_PER_THREAD 10
#define TEST_LOOPS 10