Skip to content

Commit 4b46eb0

Browse files
authored
Merge pull request #3395 from zach593/fix-pq-test
✨ Fix unused priorityqueue test: TestWhenAddingMultipleItemsWithRatelimitTrueTheyDontAffectEachOther
2 parents 7e0e84b + aa74a40 commit 4b46eb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/controller/priorityqueue/priorityqueue_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ func TestMetricsAreUpdatedForItemWhoseRequeueAfterExpiredThatGetsAddedAgainWitho
889889
})
890890
}
891891

892-
func TesWhenAddingMultipleItemsWithRatelimitTrueTheyDontAffectEachOther(t *testing.T) {
892+
func TestWhenAddingMultipleItemsWithRatelimitTrueTheyDontAffectEachOther(t *testing.T) {
893893
t.Parallel()
894894
synctest.Test(t, func(t *testing.T) {
895895
g := NewWithT(t)
@@ -927,7 +927,7 @@ func TesWhenAddingMultipleItemsWithRatelimitTrueTheyDontAffectEachOther(t *testi
927927

928928
forwardQueueTimeBy(5 * time.Millisecond)
929929
synctest.Wait()
930-
g.Expect(retrievedItem).NotTo(BeClosed())
930+
g.Expect(retrievedItem).To(BeClosed())
931931
g.Expect(retrievedSecondItem).NotTo(BeClosed())
932932

933933
forwardQueueTimeBy(635 * time.Millisecond)

0 commit comments

Comments
 (0)