From 6af66f31e2aabf7586f37473880db26579eb455f Mon Sep 17 00:00:00 2001 From: Ian Craggs Date: Mon, 7 Mar 2022 20:30:24 +0000 Subject: [PATCH] Update tests so they don't try to assign a now invalid value #1193 --- test/test95.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test95.c b/test/test95.c index 8d0b2144..b759790c 100644 --- a/test/test95.c +++ b/test/test95.c @@ -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);