Skip to content

Commit

Permalink
Mark all legacy tests as flaky to preserve behavior
Browse files Browse the repository at this point in the history
Signed-off-by: apostasie <[email protected]>
  • Loading branch information
apostasie committed Oct 18, 2024
1 parent 98a5a5a commit 2a7926c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/testutil/testutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,9 @@ func newBase(t *testing.T, ns string, ipv6Compatible bool, kubernetesCompatible
} else if !base.EnableKubernetes && base.KubernetesCompatible {
t.Skip("runner skips Kubernetes compatible tests in the non-Kubernetes environment")
}
if !GetFlakyEnvironment() && !GetEnableKubernetes() && !GetEnableIPv6() {
t.Skip("legacy tests are considered flaky by default and are skipped unless in the flaky environment")
}
var err error
switch base.Target {
case Nerdctl:
Expand Down

0 comments on commit 2a7926c

Please sign in to comment.