Skip to content

Commit 0486d91

Browse files
committed
fix test
1 parent 22c7c27 commit 0486d91

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

lib/native/mqtt.spec.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ test_env.conditional_test(test_env.AWS_IOT_ENV.mqtt311_is_valid_direct_auth_mqtt
8282
clean_session: true,
8383
username: test_env.AWS_IOT_ENV.MQTT311_BASIC_AUTH_USERNAME,
8484
password: test_env.AWS_IOT_ENV.MQTT311_BASIC_AUTH_PASSWORD,
85-
socket_options: new SocketOptions()
85+
socket_options: new SocketOptions(),
86+
disable_metrics: true
8687
}
8788
await test_connection(config, new MqttClient(new ClientBootstrap()));
8889
})
@@ -97,7 +98,7 @@ test_env.conditional_test(test_env.AWS_IOT_ENV.mqtt311_is_valid_direct_auth_mqtt
9798
clean_session: true,
9899
username: test_env.AWS_IOT_ENV.MQTT311_BASIC_AUTH_USERNAME,
99100
password: test_env.AWS_IOT_ENV.MQTT311_BASIC_AUTH_PASSWORD,
100-
socket_options: new SocketOptions(),
101+
socket_options: new SocketOptions()
101102
}
102103

103104
const client = new MqttClient(new ClientBootstrap())

0 commit comments

Comments
 (0)