xds: workaround to deflake xds e2e tests (#4413)
diff --git a/xds/internal/test/xds_integration_test.go b/xds/internal/test/xds_integration_test.go
index a41fec9..c2bb6bc 100644
--- a/xds/internal/test/xds_integration_test.go
+++ b/xds/internal/test/xds_integration_test.go
@@ -83,6 +83,11 @@
// 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)