Skip to content

Commit

Permalink
Update test/integration/multicluster/multicluster-traffic/pod_to_pod_…
Browse files Browse the repository at this point in the history
…test.go

Co-authored-by: Alejandro Pedraza <[email protected]>
  • Loading branch information
adleong and alpeb authored Aug 21, 2023
1 parent 43a8e82 commit c153f27
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@ func TestPodToPodTraffic(t *testing.T) {
if err != nil {
return err
}
remoteDisocvery, found := svc.Labels[k8s.RemoteDiscoveryLabel]
remoteDiscovery, found := svc.Labels[k8s.RemoteDiscoveryLabel]
if !found {
testutil.AnnotatedFatal(t, "mirror service missing label", "mirror service missing label: "+k8s.RemoteDiscoveryLabel)
}
if remoteDisocvery != "target" {
testutil.AnnotatedFatal(t, "mirror service has incorrect remote discovery", fmt.Sprintf("mirror service remote discovery was %s, expected %s", remoteDisocvery, "target"))
if remoteDiscovery != "target" {
testutil.AnnotatedFatal(t, "mirror service has incorrect remote discovery", fmt.Sprintf("mirror service remote discovery was %s, expected %s", remoteDiscovery, "target"))
}
remoteService, found := svc.Labels[k8s.RemoteServiceLabel]
if !found {
Expand Down

0 comments on commit c153f27

Please sign in to comment.