Skip to content

Commit fdfe2a3

Browse files
authored
Merge pull request #2485 from vmware/skip_on_eks
skip some integration tests on EKS
2 parents 9a97e20 + 04f0c55 commit fdfe2a3

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

test/integration/supervisor_discovery_test.go

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020-2024 the Pinniped contributors. All Rights Reserved.
1+
// Copyright 2020-2025 the Pinniped contributors. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

44
package integration
@@ -175,6 +175,12 @@ func TestSupervisorOIDCDiscovery_Disruptive(t *testing.T) {
175175
// Never run this test in parallel since deleting all federation domains is disruptive, see main_test.go.
176176
func TestSupervisorTLSTerminationWithSNI_Disruptive(t *testing.T) {
177177
env := testlib.IntegrationEnv(t)
178+
179+
// This test is flaky on EKS, so skip it.
180+
if env.KubernetesDistribution == testlib.EKSDistro {
181+
t.Skipf("skipping integration test on EKS")
182+
}
183+
178184
pinnipedClient := testlib.NewSupervisorClientset(t)
179185
kubeClient := testlib.NewKubernetesClientset(t)
180186

@@ -285,6 +291,12 @@ func TestSupervisorTLSTerminationWithSNI_Disruptive(t *testing.T) {
285291
// Never run this test in parallel since deleting all federation domains is disruptive, see main_test.go.
286292
func TestSupervisorTLSTerminationWithDefaultCerts_Disruptive(t *testing.T) {
287293
env := testlib.IntegrationEnv(t)
294+
295+
// This test is flaky on EKS, so skip it.
296+
if env.KubernetesDistribution == testlib.EKSDistro {
297+
t.Skipf("skipping integration test on EKS")
298+
}
299+
288300
pinnipedClient := testlib.NewSupervisorClientset(t)
289301
kubeClient := testlib.NewKubernetesClientset(t)
290302

0 commit comments

Comments
 (0)