Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
e2e: Add comments to no-service pod test
Browse files Browse the repository at this point in the history
Signed-off-by: Delyan Raychev <delyan.raychev@microsoft.com>
  • Loading branch information
draychev committed Feb 23, 2021
1 parent 291a87b commit c125697
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions tests/e2e/e2e_pod_client_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,17 @@ var _ = OSMDescribe("Test HTTP traffic from 1 pod client -> 1 pod server",
Bucket: 1,
},
func() {
Context("SimpleClientServer with a Kubernetes Service for the Source: HTTP", func() {
testTraffic(true)
Context("Test traffic flowing from client to server with a Kubernetes Service for the Source: HTTP", func() {
withSourceKubernetesService := true
testTraffic(withSourceKubernetesService)
})

Context("SimpleClientServer without a Kubernetes Service for the Source: HTTP", func() {
testTraffic(false)
Context("Test traffic flowing from client to server without a Kubernetes Service for the Source: HTTP", func() {
// Prior iterations of OSM required that a source pod belong to a Kubernetes service
// for the Envoy proxy to be configured for outbound traffic to some remote server.
// This test ensures we test this scenario: client Pod is not associated w/ a service.
withSourceKubernetesService := false
testTraffic(withSourceKubernetesService)
})
})

Expand Down

0 comments on commit c125697

Please sign in to comment.