Skip to content

Commit

Permalink
Fix TestUpdateWeight (#3942)
Browse files Browse the repository at this point in the history
  • Loading branch information
yycptt authored Feb 11, 2023
1 parent 3b27372 commit df9ec34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/tasks/interleaved_weighted_round_robin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func (s *interleavedWeightedRoundRobinSchedulerSuite) SetupTest() {
2: 2,
3: 1,
}
s.channelWeightUpdateCh = make(chan struct{})
s.channelWeightUpdateCh = make(chan struct{}, 1)
logger := log.NewTestLogger()

s.scheduler = NewInterleavedWeightedRoundRobinScheduler(
Expand Down

0 comments on commit df9ec34

Please sign in to comment.