Skip to content

Commit

Permalink
Drop region test
Browse files Browse the repository at this point in the history
  • Loading branch information
jukie committed Mar 19, 2024
1 parent c361abf commit 70d2971
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions control-plane/catalog/to-consul/resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1175,7 +1175,6 @@ func TestServiceResource_clusterIP(t *testing.T) {
require.Equal(r, 8080, actual[1].Service.Port)
require.Equal(r, "us-west-2a", actual[0].Service.Meta["external-k8s-topology-zone"])
require.Equal(r, "us-west-2b", actual[1].Service.Meta["external-k8s-topology-zone"])
require.Equal(r, "us-west-2", actual[0].Service.Meta["external-k8s-topology-region"])
require.NotEqual(r, actual[0].Service.ID, actual[1].Service.ID)
})
}
Expand Down Expand Up @@ -2092,9 +2091,6 @@ func createNodes(t *testing.T, client *fake.Clientset) (*corev1.Node, *corev1.No
node1 := &corev1.Node{
ObjectMeta: metav1.ObjectMeta{
Name: nodeName1,
Labels: map[string]string{
corev1.LabelTopologyRegion: "us-west-2",
},
},

Status: corev1.NodeStatus{
Expand All @@ -2111,9 +2107,6 @@ func createNodes(t *testing.T, client *fake.Clientset) (*corev1.Node, *corev1.No
node2 := &corev1.Node{
ObjectMeta: metav1.ObjectMeta{
Name: nodeName2,
Labels: map[string]string{
corev1.LabelTopologyRegion: "us-west-2",
},
},

Status: corev1.NodeStatus{
Expand Down

0 comments on commit 70d2971

Please sign in to comment.