Skip to content

Commit

Permalink
Revert "[Do not merge] add test logging"
Browse files Browse the repository at this point in the history
This reverts commit 891ddf8.
  • Loading branch information
adleong committed Nov 20, 2024
1 parent 805884a commit 03d2b34
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,20 +103,6 @@ func TestFederatedService(t *testing.T) {
}
localDiscovery, found := svc.Annotations[k8s.LocalDiscoveryAnnotation]
if !found {
fmt.Println("$$$ Federated service annotations")
fmt.Println(svc.Annotations)
fmt.Println("$$$ Local service mirror logs")
out, err := TestHelper.KubectlWithContext("",
contexts[testutil.SourceContextKey],
"--namespace", "linkerd-multicluster",
"logs",
"deploy/linkerd-local-service-mirror",
"--container", "service-mirror",
)
if err != nil {
return fmt.Errorf("%w\n%s", err, out)
}
fmt.Println(out)
return fmt.Errorf("federated service missing annotation: %s", k8s.LocalDiscoveryAnnotation)
}
if localDiscovery != "web-svc" {
Expand Down

0 comments on commit 03d2b34

Please sign in to comment.