Commit f54ff292 authored by Ian Craggs's avatar Ian Craggs

Shorten clientid in test4.c test6, to be less than 23 chars

parent 735662d6
...@@ -1031,7 +1031,7 @@ int test6(struct Options options) ...@@ -1031,7 +1031,7 @@ int test6(struct Options options)
test_finished = 0; test_finished = 0;
cinfo.should_fail = 1; /* fail to connect */ cinfo.should_fail = 1; /* fail to connect */
rc = MQTTAsync_create(&cinfo.c, "tcp://rubbish:1883", "async ha connection test", rc = MQTTAsync_create(&cinfo.c, "tcp://rubbish:1883", "async ha connection",
MQTTCLIENT_PERSISTENCE_DEFAULT, NULL); MQTTCLIENT_PERSISTENCE_DEFAULT, NULL);
assert("good rc from create", rc == MQTTASYNC_SUCCESS, "rc was %d\n", rc); assert("good rc from create", rc == MQTTASYNC_SUCCESS, "rc was %d\n", rc);
if (rc != MQTTASYNC_SUCCESS) if (rc != MQTTASYNC_SUCCESS)
...@@ -1061,8 +1061,6 @@ int test6(struct Options options) ...@@ -1061,8 +1061,6 @@ int test6(struct Options options)
usleep(10000L); usleep(10000L);
#endif #endif
MQTTAsync_setTraceLevel(MQTTASYNC_TRACE_MINIMUM);
test_finished = 0; test_finished = 0;
cinfo.should_fail = 0; /* should connect */ cinfo.should_fail = 0; /* should connect */
rc = MQTTAsync_create(&cinfo.c, "tcp://rubbish:1883", "async ha connection test", rc = MQTTAsync_create(&cinfo.c, "tcp://rubbish:1883", "async ha connection test",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment