File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -761,7 +761,8 @@ def sign_function(transform_args, **kwargs):
761761 username = input_username ,
762762 password = input_password ,
763763 use_websockets = True ,
764- websocket_handshake_transform = sign_function )
764+ websocket_handshake_transform = sign_function ,
765+ enable_metrics = False )
765766 connection .connect ().result (TIMEOUT )
766767 connection .disconnect ().result (TIMEOUT )
767768
Original file line number Diff line number Diff line change @@ -229,7 +229,8 @@ def _test_direct_connect_basic_auth(self):
229229 client_options = mqtt5 .ClientOptions (
230230 host_name = input_host_name ,
231231 port = input_port ,
232- connect_options = connect_options
232+ connect_options = connect_options ,
233+ enable_metrics = False
233234 )
234235 callbacks = Mqtt5TestCallbacks ()
235236 client = self ._create_client (client_options = client_options , callbacks = callbacks )
@@ -411,7 +412,8 @@ def _test_websocket_connect_basic_auth(self):
411412 connect_options = mqtt5 .ConnectPacket (
412413 client_id = create_client_id (),
413414 username = input_username ,
414- password = input_password
415+ password = input_password ,
416+ enable_metrics = False
415417 )
416418 client_options = mqtt5 .ClientOptions (
417419 host_name = input_host_name ,
You can’t perform that action at this time.
0 commit comments