mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
Add LinuxOnly tag to e2e testing session affinity
This commit is contained in:
@@ -1804,32 +1804,37 @@ var _ = SIGDescribe("Services", func() {
|
||||
}
|
||||
})
|
||||
|
||||
ginkgo.It("should have session affinity work for service with type clusterIP", func() {
|
||||
// [LinuxOnly]: Windows does not support session affinity.
|
||||
ginkgo.It("should have session affinity work for service with type clusterIP [LinuxOnly]", func() {
|
||||
svc := getServeHostnameService("affinity-clusterip")
|
||||
svc.Spec.Type = v1.ServiceTypeClusterIP
|
||||
execAffinityTestForNonLBService(f, cs, svc)
|
||||
})
|
||||
|
||||
ginkgo.It("should be able to switch session affinity for service with type clusterIP", func() {
|
||||
// [LinuxOnly]: Windows does not support session affinity.
|
||||
ginkgo.It("should be able to switch session affinity for service with type clusterIP [LinuxOnly]", func() {
|
||||
svc := getServeHostnameService("affinity-clusterip-transition")
|
||||
svc.Spec.Type = v1.ServiceTypeClusterIP
|
||||
execAffinityTestForNonLBServiceWithTransition(f, cs, svc)
|
||||
})
|
||||
|
||||
ginkgo.It("should have session affinity work for NodePort service", func() {
|
||||
// [LinuxOnly]: Windows does not support session affinity.
|
||||
ginkgo.It("should have session affinity work for NodePort service [LinuxOnly]", func() {
|
||||
svc := getServeHostnameService("affinity-nodeport")
|
||||
svc.Spec.Type = v1.ServiceTypeNodePort
|
||||
execAffinityTestForNonLBService(f, cs, svc)
|
||||
})
|
||||
|
||||
ginkgo.It("should be able to switch session affinity for NodePort service", func() {
|
||||
// [LinuxOnly]: Windows does not support session affinity.
|
||||
ginkgo.It("should be able to switch session affinity for NodePort service [LinuxOnly]", func() {
|
||||
svc := getServeHostnameService("affinity-nodeport-transition")
|
||||
svc.Spec.Type = v1.ServiceTypeNodePort
|
||||
execAffinityTestForNonLBServiceWithTransition(f, cs, svc)
|
||||
})
|
||||
|
||||
// TODO: Get rid of [DisabledForLargeClusters] tag when issue #56138 is fixed.
|
||||
ginkgo.It("should have session affinity work for LoadBalancer service with ESIPP on [Slow] [DisabledForLargeClusters]", func() {
|
||||
// [LinuxOnly]: Windows does not support session affinity.
|
||||
ginkgo.It("should have session affinity work for LoadBalancer service with ESIPP on [Slow] [DisabledForLargeClusters] [LinuxOnly]", func() {
|
||||
// L4 load balancer affinity `ClientIP` is not supported on AWS ELB.
|
||||
framework.SkipIfProviderIs("aws")
|
||||
|
||||
@@ -1840,7 +1845,8 @@ var _ = SIGDescribe("Services", func() {
|
||||
})
|
||||
|
||||
// TODO: Get rid of [DisabledForLargeClusters] tag when issue #56138 is fixed.
|
||||
ginkgo.It("should be able to switch session affinity for LoadBalancer service with ESIPP on [Slow] [DisabledForLargeClusters]", func() {
|
||||
// [LinuxOnly]: Windows does not support session affinity.
|
||||
ginkgo.It("should be able to switch session affinity for LoadBalancer service with ESIPP on [Slow] [DisabledForLargeClusters] [LinuxOnly]", func() {
|
||||
// L4 load balancer affinity `ClientIP` is not supported on AWS ELB.
|
||||
framework.SkipIfProviderIs("aws")
|
||||
|
||||
@@ -1851,7 +1857,8 @@ var _ = SIGDescribe("Services", func() {
|
||||
})
|
||||
|
||||
// TODO: Get rid of [DisabledForLargeClusters] tag when issue #56138 is fixed.
|
||||
ginkgo.It("should have session affinity work for LoadBalancer service with ESIPP off [Slow] [DisabledForLargeClusters]", func() {
|
||||
// [LinuxOnly]: Windows does not support session affinity.
|
||||
ginkgo.It("should have session affinity work for LoadBalancer service with ESIPP off [Slow] [DisabledForLargeClusters] [LinuxOnly]", func() {
|
||||
// L4 load balancer affinity `ClientIP` is not supported on AWS ELB.
|
||||
framework.SkipIfProviderIs("aws")
|
||||
|
||||
@@ -1862,7 +1869,8 @@ var _ = SIGDescribe("Services", func() {
|
||||
})
|
||||
|
||||
// TODO: Get rid of [DisabledForLargeClusters] tag when issue #56138 is fixed.
|
||||
ginkgo.It("should be able to switch session affinity for LoadBalancer service with ESIPP off [Slow] [DisabledForLargeClusters]", func() {
|
||||
// [LinuxOnly]: Windows does not support session affinity.
|
||||
ginkgo.It("should be able to switch session affinity for LoadBalancer service with ESIPP off [Slow] [DisabledForLargeClusters] [LinuxOnly]", func() {
|
||||
// L4 load balancer affinity `ClientIP` is not supported on AWS ELB.
|
||||
framework.SkipIfProviderIs("aws")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user