Skip to content

Commit

Permalink
Mark all legacy tests as flaky to preserve behavior (commented)
Browse files Browse the repository at this point in the history
Signed-off-by: apostasie <[email protected]>
  • Loading branch information
apostasie committed Oct 17, 2024
1 parent 55fb791 commit c981732
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/testutil/testutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,10 @@ 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")
}
// Enable this once https://github.com/containerd/nerdctl/pull/3535 is merged
// 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 c981732

Please sign in to comment.