mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 08:17:26 +00:00
Add appropriate skips for E2Es that use createExternalLoadBalancer
This commit is contained in:
parent
8dbbf3da5c
commit
08e3a5a969
@ -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