From 4440ab7e68ce3db7087fb352da9ba74001079e01 Mon Sep 17 00:00:00 2001 From: Juergen Kosel Date: Tue, 5 Dec 2017 16:39:32 +0100 Subject: [PATCH] Increase connect / disconnect iterations Signed-off-by: Juergen Kosel --- test/test_issue373.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_issue373.c b/test/test_issue373.c index 42513b45..b0c98e8a 100644 --- a/test/test_issue373.c +++ b/test/test_issue373.c @@ -290,7 +290,7 @@ int test_373(struct Options options) goto exit; } MQTTAsync_setTraceLevel(MQTTASYNC_TRACE_ERROR); - while (connectCnt < 10) + while (connectCnt < 40) { if (!connected) { @@ -319,9 +319,9 @@ int test_373(struct Options options) } else { - /* while connected send 1000 message per second */ + /* while connected send 100 message per second */ int topicId; - for(topicId=0; topicId < 1000; topicId++) + for(topicId=0; topicId < 100; topicId++) { rc = test373SendPublishMessage(mqttasyncContext,topicId); if (rc != MQTTASYNC_SUCCESS) break;