Skip to content

Commit

Permalink
fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
easwars committed Jan 20, 2023
1 parent 896f753 commit 57ac48a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xds/internal/resolver/xds_resolver_test.go
Expand Up @@ -107,12 +107,12 @@ type testClientConn struct {
}

func (t *testClientConn) UpdateState(s resolver.State) error {
t.stateCh.Send(s)
t.stateCh.Replace(s)
return nil
}

func (t *testClientConn) ReportError(err error) {
t.errorCh.Send(err)
t.errorCh.Replace(err)
}

func (t *testClientConn) ParseServiceConfig(jsonSC string) *serviceconfig.ParseResult {
Expand Down

0 comments on commit 57ac48a

Please sign in to comment.