mirror of https://github.com/eclipse/paho.mqtt.c
Update tests so they don't try to assign a now invalid value #1193
This commit is contained in:
parent
5bb49f8772
commit
6af66f31e2
|
|
@ -1656,7 +1656,7 @@ int test5(struct Options options)
|
|||
}
|
||||
|
||||
createOptions.sendWhileDisconnected = 0;
|
||||
createOptions.maxBufferedMessages = 0;
|
||||
createOptions.maxBufferedMessages = 1;
|
||||
createOptions.MQTTVersion = MQTTVERSION_5;
|
||||
rc = MQTTAsync_createWithOptions(&d, options.connection, clientidd, MQTTCLIENT_PERSISTENCE_DEFAULT,
|
||||
NULL, &createOptions);
|
||||
|
|
@ -1826,7 +1826,7 @@ int test6(struct Options options)
|
|||
}
|
||||
|
||||
createOptions.sendWhileDisconnected = 0;
|
||||
createOptions.maxBufferedMessages = 0;
|
||||
createOptions.maxBufferedMessages = 1;
|
||||
createOptions.MQTTVersion = MQTTVERSION_5;
|
||||
rc = MQTTAsync_createWithOptions(&d, options.connection, clientidd, MQTTCLIENT_PERSISTENCE_DEFAULT,
|
||||
NULL, &createOptions);
|
||||
|
|
|
|||
Loading…
Reference in New Issue