From ca62b26de30ac0264878bf33c34eb2bf6ca6ec8c Mon Sep 17 00:00:00 2001 From: Charlie McBride Date: Thu, 9 Nov 2023 08:41:22 -0800 Subject: [PATCH] test that panic is hit --- test/suites/drift/suite_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/suites/drift/suite_test.go b/test/suites/drift/suite_test.go index de8f6b127..483bb3963 100644 --- a/test/suites/drift/suite_test.go +++ b/test/suites/drift/suite_test.go @@ -63,6 +63,8 @@ var _ = Describe("Drift", func() { BeforeEach(func() { env.ExpectSettingsOverridden(v1.EnvVar{Name: "FEATURE_GATES", Value: "Drift=true"}) + panic("this should fail") + nodePool.Spec.Template.Spec.Requirements = []v1.NodeSelectorRequirement{{ Key: v1.LabelInstanceTypeStable, Operator: v1.NodeSelectorOpIn,