Skip to content

Commit

Permalink
rls: fix flaky test introduced by #6514 (#6535)
Browse files Browse the repository at this point in the history
  • Loading branch information
easwars authored Aug 10, 2023
1 parent 61a1f77 commit e274152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion balancer/rls/balancer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ func (s) TestUpdateStatePauses(t *testing.T) {
}
stub.Register(childPolicyName, stub.BalancerFuncs{
Init: func(bd *stub.BalancerData) {
bd.Data = balancer.Get(grpc.PickFirstBalancerName).Build(ccWrapper, bd.BuildOptions)
bd.Data = balancer.Get(grpc.PickFirstBalancerName).Build(bd.ClientConn, bd.BuildOptions)
},
ParseConfig: func(sc json.RawMessage) (serviceconfig.LoadBalancingConfig, error) {
cfg := &childPolicyConfig{}
Expand Down

0 comments on commit e274152

Please sign in to comment.