aboutsummaryrefslogtreecommitdiff
path: root/src/sp/transport/dtls/dtls_tran_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp/transport/dtls/dtls_tran_test.c')
-rw-r--r--src/sp/transport/dtls/dtls_tran_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp/transport/dtls/dtls_tran_test.c b/src/sp/transport/dtls/dtls_tran_test.c
index 500481c2..c707599d 100644
--- a/src/sp/transport/dtls/dtls_tran_test.c
+++ b/src/sp/transport/dtls/dtls_tran_test.c
@@ -449,7 +449,7 @@ test_dtls_reqrep_multi(void)
nng_tls_config_free(c1);
}
-#define NCLIENT 3
+#define NCLIENT 10
void
test_dtls_pub_multi(void)
{
@@ -493,7 +493,7 @@ test_dtls_pub_multi(void)
// send a bunch of messages - we're hoping that by serializing we won't
// overwhelm the network.
- for (int i = 0; i < 100; i++) {
+ for (int i = 0; i < 1000; i++) {
size_t len = nng_random() % (sizeof(msg) - 1);
memset(msg, 'a' + i % 26, sizeof(buf));
msg[len] = 0;