Skip to content

Commit

Permalink
Merge branch 'master' into feat/implement-pool-cancellation
Browse files Browse the repository at this point in the history
  • Loading branch information
plastikfan authored Aug 14, 2023
2 parents 5e243be + aacc8ca commit 218535c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions async/worker-pool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,11 @@ var _ = Describe("WorkerPool", func() {

By("👾 NOW AWAITING TERMINATION")
pipe.cancel.After(ctxCancel, time.Second/5, cancellations...)
It("should test something", func() { // It is ginkgo test case function
Expect(audience).To(HaveLen(14))
})

It("🧪 should: handle cancellation and shutdown cleanly", func(_ SpecContext) {

pipe.wg.Wait()

Expand Down

0 comments on commit 218535c

Please sign in to comment.