Increased pool test timeout (hate time based tests...)

This commit is contained in:
Deluan
2020-10-27 15:43:00 -04:00
parent 4777cf0aba
commit 216491815c
2 changed files with 13 additions and 12 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ var _ = Describe("Pool", func() {
for i := 0; i < 5; i++ {
pool.Submit(&testItem{ID: i})
}
Eventually(processed.Len).Should(Equal(5))
Eventually(processed.Len, "10s").Should(Equal(5))
Expect(processed).To(ContainElements(0, 1, 2, 3, 4))
})
})