Skip to content

Commit 7777b1b

Browse files
committed
disable metrics for custom auth test
1 parent 3d25d85 commit 7777b1b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

test/test_mqtt5.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -412,13 +412,13 @@ def _test_websocket_connect_basic_auth(self):
412412
connect_options = mqtt5.ConnectPacket(
413413
client_id=create_client_id(),
414414
username=input_username,
415-
password=input_password,
416-
enable_aws_metrics=False
415+
password=input_password
417416
)
418417
client_options = mqtt5.ClientOptions(
419418
host_name=input_host_name,
420419
port=input_port,
421-
connect_options=connect_options
420+
connect_options=connect_options,
421+
enable_aws_metrics=False
422422
)
423423
callbacks = Mqtt5TestCallbacks()
424424
client_options.websocket_handshake_transform = callbacks.ws_handshake_transform
@@ -617,7 +617,8 @@ def test_connect_with_incorrect_basic_authentication_credentials(self):
617617
client_options = mqtt5.ClientOptions(
618618
host_name=input_host_name,
619619
port=input_port,
620-
connect_options=connect_options
620+
connect_options=connect_options,
621+
enable_aws_metrics=False
621622
)
622623
callbacks = Mqtt5TestCallbacks()
623624
client = self._create_client(client_options=client_options, callbacks=callbacks)

0 commit comments

Comments
 (0)