Skip to content

Commit

Permalink
test that panic is hit
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie McBride authored and Charlie McBride committed Nov 9, 2023
1 parent 2bd53c0 commit ca62b26
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{{

Check failure on line 68 in test/suites/drift/suite_test.go

View workflow job for this annotation

GitHub Actions / ci

unreachable: unreachable code (govet)
Key: v1.LabelInstanceTypeStable,
Operator: v1.NodeSelectorOpIn,
Expand Down

0 comments on commit ca62b26

Please sign in to comment.