Skip to content

Commit

Permalink
Remove debug code now that these tests are working (hashicorp#824)
Browse files Browse the repository at this point in the history
  • Loading branch information
lkysow authored Feb 11, 2021
1 parent 21d92f5 commit a7084f4
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions test/acceptance/tests/mesh-gateway/mesh_gateway_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,17 +117,6 @@ func TestMeshGatewayDefault(t *testing.T) {
k8s.KubectlDeleteK(t, primaryContext.KubectlOptions(t), kustomizeDir)
})

// Log services in DC2 that DC1 is aware of before exiting this test
// TODO: remove this code once issue has been debugged
defer func() {
svcs, _, err := primaryClient.Catalog().Services(&api.QueryOptions{Datacenter: "dc2"})
if err != nil {
logger.Logf(t, "error calling primary on /v1/catalog/services?dc=dc2: %s\n", err.Error())
return
}
logger.Logf(t, "primary on /v1/catalog/services?dc=dc2: %+v\n", svcs)
}()

// Check that we can connect services over the mesh gateways
logger.Log(t, "creating static-server in dc2")
k8s.DeployKustomize(t, secondaryContext.KubectlOptions(t), cfg.NoCleanupOnFailure, cfg.DebugDirectory, "../fixtures/cases/static-server-inject")
Expand Down

0 comments on commit a7084f4

Please sign in to comment.