NO-JIRA fix failing MQTT test
I've seen o.a.a.a.c.p.m.MQTTRetainMessageManagerTest fail a handful of times recently in PR builds. This change fixes that failure.
This commit is contained in:
parent
31e72c6cbb
commit
b9fa8b96ec
|
@ -66,7 +66,7 @@ public class MqttClientService implements MqttCallback {
|
||||||
final MqttConnectOptions options = new MqttConnectOptions();
|
final MqttConnectOptions options = new MqttConnectOptions();
|
||||||
options.setAutomaticReconnect(true);
|
options.setAutomaticReconnect(true);
|
||||||
options.setCleanSession(false);
|
options.setCleanSession(false);
|
||||||
options.setMaxInflight(10);
|
options.setMaxInflight(1000);
|
||||||
options.setServerURIs(new String[] {serverURI});
|
options.setServerURIs(new String[] {serverURI});
|
||||||
options.setMqttVersion(MQTT_VERSION_3_1_1);
|
options.setMqttVersion(MQTT_VERSION_3_1_1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue