Commit 1eb002b1 authored by Ian Craggs's avatar Ian Craggs

Remove debug in tests and add modification comment - remove retry default

Bug: 442400
parent f259db95
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
* Ian Craggs - fix for bug 432903 - queue persistence * Ian Craggs - fix for bug 432903 - queue persistence
* Ian Craggs - MQTT 3.1.1 support * Ian Craggs - MQTT 3.1.1 support
* Rong Xiang, Ian Craggs - C++ compatibility * Rong Xiang, Ian Craggs - C++ compatibility
* Ian Craggs - fix for bug 442400: reconnecting after network cable unplugged
*******************************************************************************/ *******************************************************************************/
/** /**
......
...@@ -693,7 +693,7 @@ typedef struct ...@@ -693,7 +693,7 @@ typedef struct
} MQTTAsync_connectOptions; } MQTTAsync_connectOptions;
#define MQTTAsync_connectOptions_initializer { {'M', 'Q', 'T', 'C'}, 3, 60, 1, 10, NULL, NULL, NULL, 30, 20, NULL, NULL, 0, NULL, 0} #define MQTTAsync_connectOptions_initializer { {'M', 'Q', 'T', 'C'}, 3, 60, 1, 10, NULL, NULL, NULL, 30, 0, NULL, NULL, NULL, NULL, 0, NULL, 0}
/** /**
* This function attempts to connect a previously-created client (see * This function attempts to connect a previously-created client (see
......
...@@ -68,7 +68,7 @@ struct Options ...@@ -68,7 +68,7 @@ struct Options
} options = } options =
{ {
"m2m.eclipse.org:1883", "m2m.eclipse.org:1883",
1, 0,
-1, -1,
10000, 10000,
MQTTVERSION_DEFAULT, MQTTVERSION_DEFAULT,
......
...@@ -89,7 +89,7 @@ struct Options ...@@ -89,7 +89,7 @@ struct Options
NULL, NULL,
"../../../test/ssl/test-root-ca.crt", "../../../test/ssl/test-root-ca.crt",
NULL, NULL,
1, 0,
0, 0,
5000000 5000000
}; };
...@@ -2050,7 +2050,6 @@ int main(int argc, char** argv) ...@@ -2050,7 +2050,6 @@ int main(int argc, char** argv)
for (options.test_no = 1; options.test_no < ARRAY_SIZE(tests); ++options.test_no) for (options.test_no = 1; options.test_no < ARRAY_SIZE(tests); ++options.test_no)
{ {
failures = 0; failures = 0;
if (options.test_no != 2)
MQTTAsync_setTraceLevel(MQTTASYNC_TRACE_ERROR); MQTTAsync_setTraceLevel(MQTTASYNC_TRACE_ERROR);
rc += tests[options.test_no](options); /* return number of failures. 0 = test succeeded */ rc += tests[options.test_no](options); /* return number of failures. 0 = test succeeded */
} }
......
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