Skip to content

Commit df9ec34

Browse files
authored
Fix TestUpdateWeight (#3942)
1 parent 3b27372 commit df9ec34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/tasks/interleaved_weighted_round_robin_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func (s *interleavedWeightedRoundRobinSchedulerSuite) SetupTest() {
8686
2: 2,
8787
3: 1,
8888
}
89-
s.channelWeightUpdateCh = make(chan struct{})
89+
s.channelWeightUpdateCh = make(chan struct{}, 1)
9090
logger := log.NewTestLogger()
9191

9292
s.scheduler = NewInterleavedWeightedRoundRobinScheduler(

0 commit comments

Comments
 (0)