diff --git a/test/integration/net_test.go b/test/integration/net_test.go index 7d9a00652a..e3eb1a49d0 100644 --- a/test/integration/net_test.go +++ b/test/integration/net_test.go @@ -216,7 +216,6 @@ func validateFalseCNI(ctx context.Context, t *testing.T, profile string) { } if rr.ExitCode != reason.Usage.ExitCode { t.Errorf("Expected %d exit code, got %d", reason.Usage.ExitCode, rr.ExitCode) - } expectedMsg := fmt.Sprintf("The %q container runtime requires CNI", cr) if !strings.Contains(rr.Output(), expectedMsg) {