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 @@
* Ian Craggs - fix for bug 432903 - queue persistence
* Ian Craggs - MQTT 3.1.1 support
* Rong Xiang, Ian Craggs - C++ compatibility
* Ian Craggs - fix for bug 442400: reconnecting after network cable unplugged
*******************************************************************************/
/**
......
......@@ -693,7 +693,7 @@ typedef struct
} 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
......
......@@ -68,7 +68,7 @@ struct Options
} options =
{
"m2m.eclipse.org:1883",
1,
0,
-1,
10000,
MQTTVERSION_DEFAULT,
......
......@@ -89,7 +89,7 @@ struct Options
NULL,
"../../../test/ssl/test-root-ca.crt",
NULL,
1,
0,
0,
5000000
};
......@@ -2050,7 +2050,6 @@ int main(int argc, char** argv)
for (options.test_no = 1; options.test_no < ARRAY_SIZE(tests); ++options.test_no)
{
failures = 0;
if (options.test_no != 2)
MQTTAsync_setTraceLevel(MQTTASYNC_TRACE_ERROR);
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