@@ -55,7 +55,7 @@ def test_get_metrics(self, tmp_path, component_tests_config):
5555 config = component_tests_config (cfd_mode = CfdModes .NAMED , run_proxy_dns = False , provide_ingress = False )
5656 LOGGER .debug (config )
5757 config_path = write_config (tmp_path , config .full_config )
58- with start_cloudflared (tmp_path , config , cfd_pre_args = ["tunnel" , "--ha-connections" , "1" , "--management-diagnostics" ], new_process = True ):
58+ with start_cloudflared (tmp_path , config , cfd_pre_args = ["tunnel" , "--ha-connections" , "1" ], new_process = True ):
5959 wait_tunnel_ready (require_min_connections = 1 )
6060 cfd_cli = CloudflaredCli (config , config_path , LOGGER )
6161 url = cfd_cli .get_management_url ("metrics" , config , config_path )
@@ -76,7 +76,7 @@ def test_get_pprof_heap(self, tmp_path, component_tests_config):
7676 config = component_tests_config (cfd_mode = CfdModes .NAMED , run_proxy_dns = False , provide_ingress = False )
7777 LOGGER .debug (config )
7878 config_path = write_config (tmp_path , config .full_config )
79- with start_cloudflared (tmp_path , config , cfd_pre_args = ["tunnel" , "--ha-connections" , "1" , "--management-diagnostics" ], new_process = True ):
79+ with start_cloudflared (tmp_path , config , cfd_pre_args = ["tunnel" , "--ha-connections" , "1" ], new_process = True ):
8080 wait_tunnel_ready (require_min_connections = 1 )
8181 cfd_cli = CloudflaredCli (config , config_path , LOGGER )
8282 url = cfd_cli .get_management_url ("debug/pprof/heap" , config , config_path )
@@ -97,7 +97,7 @@ def test_get_metrics_when_disabled(self, tmp_path, component_tests_config):
9797 config = component_tests_config (cfd_mode = CfdModes .NAMED , run_proxy_dns = False , provide_ingress = False )
9898 LOGGER .debug (config )
9999 config_path = write_config (tmp_path , config .full_config )
100- with start_cloudflared (tmp_path , config , cfd_pre_args = ["tunnel" , "--ha-connections" , "1" ], new_process = True ):
100+ with start_cloudflared (tmp_path , config , cfd_pre_args = ["tunnel" , "--ha-connections" , "1" , "--management-diagnostics=false" ], new_process = True ):
101101 wait_tunnel_ready (require_min_connections = 1 )
102102 cfd_cli = CloudflaredCli (config , config_path , LOGGER )
103103 url = cfd_cli .get_management_url ("metrics" , config , config_path )
0 commit comments