Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
Signed-off-by: Lukasz Dziedziak <[email protected]>
  • Loading branch information
lukidzi committed Jan 28, 2025
1 parent e28619d commit 0bab99e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/util/watchdog/watchdog_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,7 @@ var _ = Describe("SimpleWatchdog", func() {
close(doneCh)
}()
Expect(watchdog.HasTicked(false)).Should(BeFalse())
Consistently(func(g Gomega) {
g.Expect(hasTicked).ShouldNot(Receive())
}, "100ms", "10ms").Should(Succeed())
Consistently(hasTicked, "100ms", "10ms").ShouldNot(Receive())

By("simulating 1st tick")
// when
Expand Down

0 comments on commit 0bab99e

Please sign in to comment.