Skip to content

Commit

Permalink
xds: workaround to deflake xds e2e tests (#4413)
Browse files Browse the repository at this point in the history
  • Loading branch information
easwars committed May 11, 2021
1 parent b1940e1 commit 5f95ad6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions xds/internal/test/xds_integration_test.go
Expand Up @@ -83,6 +83,11 @@ func TestMain(m *testing.M) {
// spawns the management server and is blocked on the call to `Serve()`.
leakcheck.RegisterIgnoreGoroutine("e2e.StartManagementServer")

// Remove this once https://github.com/envoyproxy/go-control-plane/pull/430
// is merged. For more information about this goroutine leak, see:
// https://github.com/envoyproxy/go-control-plane/issues/429.
leakcheck.RegisterIgnoreGoroutine("(*server).StreamHandler")

cancel, err := setupManagementServer()
if err != nil {
log.Printf("setupManagementServer() failed: %v", err)
Expand Down

0 comments on commit 5f95ad6

Please sign in to comment.