File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,15 +45,16 @@ function createNodeSpecificTestConfig (testType: test_utils.SuccessfulConnection
4545 HttpProxyConnectionType . Tunneling ) ;
4646 }
4747
48- let enableMetrics = test_utils . ClientEnvironmentalConfig . isTestBasicAuth ( testType ) == false
48+ // Disable metrics for basic auth as moqsuitto test broker would not filter out metrics.
49+ let disableMetrics = test_utils . ClientEnvironmentalConfig . isTestBasicAuth ( testType )
4950
5051 return {
5152 hostName : "unknown" ,
5253 port : 0 ,
5354 tlsCtx : tlsCtx ,
5455 httpProxyOptions : proxyOptions ,
5556 websocketHandshakeTransform : wsTransform ,
56- enableMetrics : enableMetrics
57+ disableMetrics : disableMetrics
5758 } ;
5859}
5960
@@ -318,8 +319,7 @@ test_utils.conditional_test(test_utils.ClientEnvironmentalConfig.hasValidSuccess
318319 keepAliveIntervalSeconds : 1200 ,
319320 username : test_utils . ClientEnvironmentalConfig . BASIC_AUTH_USERNAME ,
320321 password : test_utils . ClientEnvironmentalConfig . BASIC_AUTH_PASSWORD ,
321- } ,
322- enableMetrics : true ,
322+ }
323323 } ) ) ;
324324} ) ;
325325
You can’t perform that action at this time.
0 commit comments