Increase connect / disconnect iterations

Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
This commit is contained in:
Juergen Kosel 2017-12-05 16:39:32 +01:00
parent dff71726c8
commit 4440ab7e68
1 changed files with 3 additions and 3 deletions

View File

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