@@ -35,7 +35,7 @@ func baselineWindowConn(host string, bytes uint64) npmodel.NetworkPathConnection
3535
3636func TestBaselineFirstSnapshotAndSteadyWindow (t * testing.T ) {
3737 _ , collector := newTestNpCollector (t , map [string ]any {
38- "network_path.connections_monitoring.baseline_tests.enabled " : true ,
38+ "network_path.connections_monitoring.baseline_tests_enabled " : true ,
3939 "network_path.collector.monitor_ip_without_domain" : true ,
4040 "network_path.collector.pathtest_interval" : time .Second ,
4141 }, & teststatsd.Client {}, nil )
@@ -69,7 +69,7 @@ func TestBaselineFirstSnapshotAndSteadyWindow(t *testing.T) {
6969
7070func TestBaselineEmptySnapshotsDoNotStartVirtualWindow (t * testing.T ) {
7171 _ , collector := newTestNpCollector (t , map [string ]any {
72- "network_path.connections_monitoring.baseline_tests.enabled " : true ,
72+ "network_path.connections_monitoring.baseline_tests_enabled " : true ,
7373 "network_path.collector.monitor_ip_without_domain" : true ,
7474 }, & teststatsd.Client {}, nil )
7575 collector .ScheduleNetworkPathTests (slices .Values ([]npmodel.NetworkPathConnection {{
@@ -84,7 +84,7 @@ func TestBaselineEmptySnapshotsDoNotStartVirtualWindow(t *testing.T) {
8484
8585func TestBaselineDisabledCreatesNoCollectorMachinery (t * testing.T ) {
8686 _ , collector := newTestNpCollector (t , map [string ]any {
87- "network_path.connections_monitoring.baseline_tests.enabled " : false ,
87+ "network_path.connections_monitoring.baseline_tests_enabled " : false ,
8888 "network_path.collector.monitor_ip_without_domain" : true ,
8989 }, & teststatsd.Client {}, nil )
9090
@@ -97,7 +97,7 @@ func TestBaselineDisabledCreatesNoCollectorMachinery(t *testing.T) {
9797func TestBaselineSelectionConsumesSlotsBeforeChannelAdmission (t * testing.T ) {
9898 stats := & teststatsd.Client {}
9999 _ , collector := newTestNpCollector (t , map [string ]any {
100- "network_path.connections_monitoring.baseline_tests.enabled " : true ,
100+ "network_path.connections_monitoring.baseline_tests_enabled " : true ,
101101 "network_path.collector.monitor_ip_without_domain" : true ,
102102 "network_path.collector.input_chan_size" : 1 ,
103103 }, stats , nil )
@@ -118,7 +118,7 @@ func TestBaselineBypassesRemoteFiltersButStandardDoesNot(t *testing.T) {
118118 remoteExclude := []connfilter.Config {{Type : connfilter .FilterTypeExclude , MatchIP : "10.0.0.1" }}
119119
120120 _ , baseline := newTestNpCollector (t , map [string ]any {
121- "network_path.connections_monitoring.baseline_tests.enabled " : true ,
121+ "network_path.connections_monitoring.baseline_tests_enabled " : true ,
122122 "network_path.collector.monitor_ip_without_domain" : true ,
123123 }, & teststatsd.Client {}, nil )
124124 baseline .replaceRemoteFilters (remoteExclude )
0 commit comments