mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 01:40:07 +00:00
Merge pull request #7192 from pmorie/e2e-local-external
Add appropriate skips for E2Es that use createExternalLoadBalancer
This commit is contained in:
commit
d0553c085a
@ -256,6 +256,11 @@ var _ = Describe("Services", func() {
|
|||||||
}, 240.0)
|
}, 240.0)
|
||||||
|
|
||||||
It("should be able to create a functioning external load balancer", func() {
|
It("should be able to create a functioning external load balancer", func() {
|
||||||
|
if !providerIs("gce", "gke") {
|
||||||
|
By(fmt.Sprintf("Skipping service external load balancer test; uses createExternalLoadBalancer, a (gce|gke) feature"))
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
serviceName := "external-lb-test"
|
serviceName := "external-lb-test"
|
||||||
ns := namespace0
|
ns := namespace0
|
||||||
labels := map[string]string{
|
labels := map[string]string{
|
||||||
@ -347,6 +352,11 @@ var _ = Describe("Services", func() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
It("should correctly serve identically named services in different namespaces on different external IP addresses", func() {
|
It("should correctly serve identically named services in different namespaces on different external IP addresses", func() {
|
||||||
|
if !providerIs("gce", "gke") {
|
||||||
|
By(fmt.Sprintf("Skipping service namespace collision test; uses createExternalLoadBalancer, a (gce|gke) feature"))
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
serviceNames := []string{"s0"} // Could add more here, but then it takes longer.
|
serviceNames := []string{"s0"} // Could add more here, but then it takes longer.
|
||||||
namespaces := []string{namespace0, namespace1} // As above.
|
namespaces := []string{namespace0, namespace1} // As above.
|
||||||
labels := map[string]string{
|
labels := map[string]string{
|
||||||
|
Loading…
Reference in New Issue
Block a user