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:
Justin Bertram 2020-03-25 11:10:09 -05:00
parent 31e72c6cbb
commit b9fa8b96ec
1 changed files with 1 additions and 1 deletions

View File

@ -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);