@@ -135,9 +135,9 @@ func TestEndpointStore(t *testing.T) {
135135 kube_endpoint_created{endpoint="single-port-endpoint",namespace="default"} 1.5e+09
136136 kube_endpoint_info{endpoint="single-port-endpoint",namespace="default"} 1
137137 kube_endpoint_ports{endpoint="single-port-endpoint",namespace="default",port_name="",port_number="8080",port_protocol="TCP"} 1
138- kube_endpoint_address{endpoint="single-port-endpoint",ip="10.0.0.1",namespace="default",port_number="8080",port_protocol="TCP",ready="true"} 1
139- kube_endpoint_address{endpoint="single-port-endpoint",ip="10.0.0.10",namespace="default",port_number="8080",port_protocol="TCP",ready="false"} 1
140- kube_endpoint_address{endpoint="single-port-endpoint",ip="127.0.0.1",namespace="default",port_number="8080",port_protocol="TCP",ready="true"} 1
138+ kube_endpoint_address{endpoint="single-port-endpoint",ip="10.0.0.1",namespace="default",port_name="", port_number="8080",port_protocol="TCP",ready="true"} 1
139+ kube_endpoint_address{endpoint="single-port-endpoint",ip="10.0.0.10",namespace="default",port_name="", port_number="8080",port_protocol="TCP",ready="false"} 1
140+ kube_endpoint_address{endpoint="single-port-endpoint",ip="127.0.0.1",namespace="default",port_name="", port_number="8080",port_protocol="TCP",ready="true"} 1
141141 ` ,
142142 },
143143 }
@@ -269,9 +269,9 @@ func TestEndpointStoreWithLabels(t *testing.T) {
269269 kube_endpoint_info{endpoint="single-port-endpoint",namespace="default"} 1
270270 kube_endpoint_labels{endpoint="single-port-endpoint",label_app="single-foobar",namespace="default"} 1
271271 kube_endpoint_ports{endpoint="single-port-endpoint",namespace="default",port_name="",port_number="8080",port_protocol="TCP"} 1
272- kube_endpoint_address{endpoint="single-port-endpoint",ip="10.0.0.1",namespace="default",port_number="8080",port_protocol="TCP",ready="true"} 1
273- kube_endpoint_address{endpoint="single-port-endpoint",ip="10.0.0.10",namespace="default",port_number="8080",port_protocol="TCP",ready="false"} 1
274- kube_endpoint_address{endpoint="single-port-endpoint",ip="127.0.0.1",namespace="default",port_number="8080",port_protocol="TCP",ready="true"} 1
272+ kube_endpoint_address{endpoint="single-port-endpoint",ip="10.0.0.1",namespace="default",port_name="", port_number="8080",port_protocol="TCP",ready="true"} 1
273+ kube_endpoint_address{endpoint="single-port-endpoint",ip="10.0.0.10",namespace="default",port_name="", port_number="8080",port_protocol="TCP",ready="false"} 1
274+ kube_endpoint_address{endpoint="single-port-endpoint",ip="127.0.0.1",namespace="default",port_name="", port_number="8080",port_protocol="TCP",ready="true"} 1
275275 ` ,
276276 },
277277 }
0 commit comments