Merge pull request #1333 from Cyberguru1/fix-itest-process-leak
Some checks failed
CI / frontend tests on macOS-latest (push) Has been cancelled
CI / frontend tests on ubuntu-latest (push) Has been cancelled
CI / frontend tests on windows-latest (push) Has been cancelled
CI / backend build on macOS-latest (push) Has been cancelled
CI / backend build on ubuntu-latest (push) Has been cancelled
CI / backend build on windows-latest (push) Has been cancelled
CI / cross compilation (push) Has been cancelled
CI / cross compilation-1 (push) Has been cancelled
CI / cross compilation-2 (push) Has been cancelled
CI / RPC proto compilation check (push) Has been cancelled
CI / check commits (push) Has been cancelled
CI / Sqlc check (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / run unit tests (push) Has been cancelled
CI / run unit tests-1 (push) Has been cancelled
CI / run unit tests-2 (push) Has been cancelled
CI / run unit tests-3 (push) Has been cancelled
CI / build itest binaries (push) Has been cancelled
CI / check release notes updated (push) Has been cancelled
CI / integration test (push) Has been cancelled
CI / integration test-1 (push) Has been cancelled
CI / integration test-2 (push) Has been cancelled

itest: fix flaky testRequestLoggerDisable node cleanup
This commit is contained in:
bitromortac 2026-07-10 08:33:52 +02:00 committed by GitHub
commit 9bfcdbe9ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -308,8 +308,9 @@ func testRequestLoggerDisable(ctx context.Context, net *NetworkHarness,
"--autopilot.disable",
)
require.NoError(t.t, err)
reqLogOnNode := node
defer func() {
_ = net.ShutdownNode(node)
_ = net.ShutdownNode(reqLogOnNode)
}()
rawConn, err = connectLitRPC(