Skip to content

Commit

Permalink
Fix loop worker
Browse files Browse the repository at this point in the history
  • Loading branch information
dave committed Dec 7, 2017
1 parent b7f2f36 commit 3d81f81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blaster/loop-worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func (b *Blaster) send(ctx context.Context, w Worker, work workDef) error {
// the sending goroutine to exit.
cancel()
select {
case <-finished:
case <-finished: // notest
// Only continue when finished channel is closed - e.g. sending goroutine has exited.
case <-time.After(b.hardTimeout):
hardTimeoutExceeded = true
Expand Down

0 comments on commit 3d81f81

Please sign in to comment.