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 25, 2023
1 parent e861744 commit c9e452a
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 @@ -109,12 +109,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 c9e452a

Please sign in to comment.