File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ func (s) TestPickFirstLeaf_TFPickerUpdate(t *testing.T) {
230230 sc1 .UpdateState (balancer.SubConnState {ConnectivityState : connectivity .TransientFailure , ConnectionError : tfErr })
231231
232232 if err := cc .WaitForPickerWithErr (ctx , balancer .ErrNoSubConnAvailable ); err != nil {
233- t .Fatalf ("cc.WaitForPickerWithErr(%v) returned error: %v" , tfErr , err )
233+ t .Fatalf ("cc.WaitForPickerWithErr(%v) returned error: %v" , balancer . ErrNoSubConnAvailable , err )
234234 }
235235
236236 sc2 := <- cc .NewSubConnCh
@@ -254,6 +254,6 @@ func (s) TestPickFirstLeaf_TFPickerUpdate(t *testing.T) {
254254
255255 sc2 .UpdateState (balancer.SubConnState {ConnectivityState : connectivity .TransientFailure , ConnectionError : newTfErr })
256256 if err := cc .WaitForPickerWithErr (ctx , newTfErr ); err != nil {
257- t .Fatalf ("cc.WaitForPickerWithErr(%v) returned error: %v" , tfErr , err )
257+ t .Fatalf ("cc.WaitForPickerWithErr(%v) returned error: %v" , newTfErr , err )
258258 }
259259}
You can’t perform that action at this time.
0 commit comments