Commit 55ea76db authored by Adrian Sutton's avatar Adrian Sutton

op-challenger: Fix test

parent 5857f618
...@@ -16,6 +16,7 @@ func TestWorkerShouldProcessJobsUntilContextDone(t *testing.T) { ...@@ -16,6 +16,7 @@ func TestWorkerShouldProcessJobsUntilContextDone(t *testing.T) {
ctx, cancel := context.WithCancel(context.Background()) ctx, cancel := context.WithCancel(context.Background())
defer cancel() defer cancel()
var wg sync.WaitGroup var wg sync.WaitGroup
wg.Add(1)
go progressGames(ctx, in, out, &wg) go progressGames(ctx, in, out, &wg)
in <- job{ in <- job{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment