Skip to content

Commit

Permalink
initialize joined channel in Generation (segmentio#828)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhansen2 authored Jan 21, 2022
1 parent 382e96d commit d5d9116
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions reader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1295,6 +1295,7 @@ func TestCommitLoopImmediateFlushOnGenerationEnd(t *testing.T) {
done: make(chan struct{}),
log: func(func(Logger)) {},
logError: func(func(Logger)) {},
joined: make(chan struct{}),
}

// initialize commits so that the commitLoopImmediate select statement blocks
Expand Down

0 comments on commit d5d9116

Please sign in to comment.