Skip to content

Commit

Permalink
[swap_eds_to_split_8] add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
menghanl committed Jun 15, 2021
1 parent aeb495b commit 3e963e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xds/internal/balancer/edsbalancer/eds_testutil_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ func testPickerFromCh(ch chan balancer.Picker, f func(balancer.Picker) error) er
select {
case p = <-ch:
case <-time.After(defaultTestTimeout):
// TODO: this function should take a context, and use the context
// here, instead of making a new timer.
return fmt.Errorf("timeout waiting for picker with expected behavior, error from previous picker: %v", err)
}

Expand Down

0 comments on commit 3e963e3

Please sign in to comment.