Skip to content

Commit

Permalink
Update debug server test (openservicemesh#2283)
Browse files Browse the repository at this point in the history
* Paramterized osmNamespace in e2e_debug_server_test

Signed-off-by: nshankar13 <nshankar@microsoft.com>

* removed extra files

Signed-off-by: nshankar13 <nshankar@microsoft.com>
  • Loading branch information
nshankar13 authored Jan 11, 2021
1 parent 7dcead0 commit ac52c1f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/e2e/e2e_debug_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,14 @@ var _ = OSMDescribe("Test Debug Server by toggling enableDebugServer",

Expect(Td.WaitForPodsRunningReady(sourceNs, 90*time.Second, 1)).To(Succeed())

controllerDest := "osm-controller." + Td.OsmNamespace + ":9092/debug"

req := HTTPRequestDef{
SourceNs: srcPod.Namespace,
SourcePod: srcPod.Name,
SourceContainer: "client",

Destination: "osm-controller.osm-system:9092/debug",
Destination: controllerDest,
}

By("Ensuring debug server is available when enableDebugServer is enabled")
Expand Down

0 comments on commit ac52c1f

Please sign in to comment.