Skip to content

Commit

Permalink
test: use GinkgoRecover in go subroutine of ownerreference test
Browse files Browse the repository at this point in the history
  • Loading branch information
chrischdi committed Dec 13, 2023
1 parent 142431c commit de0989f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/e2e/ownerreference_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ func forcePeriodicReconcile(ctx context.Context, c ctrlclient.Client, namespace
ticker := time.NewTicker(20 * time.Second)
stopTimer := time.NewTimer(5 * time.Minute)
go func() {
defer GinkgoRecover()
for {
select {
case <-ticker.C:
Expand Down

0 comments on commit de0989f

Please sign in to comment.