Skip to content

Commit

Permalink
add panic for failure testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie McBride authored and Charlie McBride committed Nov 10, 2023
1 parent 650b593 commit eca70d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/suites/drift/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit eca70d7

Please sign in to comment.