Skip to content

Commit e162215

Browse files
committed
Add legacy tests into the 'retry' bucket
Signed-off-by: apostasie <[email protected]>
1 parent 7e4f77d commit e162215

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/testutil/testutil.go

+3
Original file line numberDiff line numberDiff line change
@@ -787,6 +787,9 @@ func newBase(t *testing.T, ns string, ipv6Compatible bool, kubernetesCompatible
787787
} else if !base.EnableKubernetes && base.KubernetesCompatible {
788788
t.Skip("runner skips Kubernetes compatible tests in the non-Kubernetes environment")
789789
}
790+
if !GetFlakyEnvironment() && !GetEnableKubernetes() && !GetEnableIPv6() {
791+
t.Skip("legacy tests are considered flaky by default and are skipped unless in the flaky environment")
792+
}
790793
var err error
791794
switch base.Target {
792795
case Nerdctl:

0 commit comments

Comments
 (0)