From 5f95ad62331add45bbf5ee167b67cadc72e1d322 Mon Sep 17 00:00:00 2001 From: Easwar Swaminathan Date: Tue, 11 May 2021 10:39:31 -0700 Subject: [PATCH] xds: workaround to deflake xds e2e tests (#4413) --- xds/internal/test/xds_integration_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xds/internal/test/xds_integration_test.go b/xds/internal/test/xds_integration_test.go index a41fec92976..c2bb6bc18f6 100644 --- a/xds/internal/test/xds_integration_test.go +++ b/xds/internal/test/xds_integration_test.go @@ -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)