Skip to content

Commit 5f95ad6

Browse files
authored
xds: workaround to deflake xds e2e tests (#4413)
1 parent b1940e1 commit 5f95ad6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

xds/internal/test/xds_integration_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@ func TestMain(m *testing.M) {
8383
// spawns the management server and is blocked on the call to `Serve()`.
8484
leakcheck.RegisterIgnoreGoroutine("e2e.StartManagementServer")
8585

86+
// Remove this once https://github.com/envoyproxy/go-control-plane/pull/430
87+
// is merged. For more information about this goroutine leak, see:
88+
// https://github.com/envoyproxy/go-control-plane/issues/429.
89+
leakcheck.RegisterIgnoreGoroutine("(*server).StreamHandler")
90+
8691
cancel, err := setupManagementServer()
8792
if err != nil {
8893
log.Printf("setupManagementServer() failed: %v", err)

0 commit comments

Comments
 (0)