Skip to content

MINOR: Fix flaky TestBasicAuth memory leak by waiting for async buffer release#1058

Merged
jbonofre merged 1 commit intoapache:mainfrom
jbonofre:fix-testbasicauth-flaky-memory-leak
Mar 9, 2026
Merged

MINOR: Fix flaky TestBasicAuth memory leak by waiting for async buffer release#1058
jbonofre merged 1 commit intoapache:mainfrom
jbonofre:fix-testbasicauth-flaky-memory-leak

Conversation

@jbonofre
Copy link
Member

@jbonofre jbonofre commented Mar 9, 2026

What's Changed

gRPC/Netty releases Arrow buffers asynchronously after server shutdown. Poll briefly for the allocator's memory to drain before closing it, preventing spurious "Memory was leaked" errors in CI.

The fix adds a brief polling loop to wait for the allocator's memory to drain before closing it.

@jbonofre jbonofre added this to the 19.0.0 milestone Mar 9, 2026
@github-actions

This comment has been minimized.

…r release

gRPC/Netty releases Arrow buffers asynchronously after server shutdown.
Poll briefly for the allocator's memory to drain before closing it,
preventing spurious "Memory was leaked" errors in CI.
@jbonofre jbonofre force-pushed the fix-testbasicauth-flaky-memory-leak branch from a904d72 to 94b73ce Compare March 9, 2026 08:48
@jbonofre jbonofre added the chore PRs that make misc changes. label Mar 9, 2026
@jbonofre jbonofre merged commit 15f5079 into apache:main Mar 9, 2026
36 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore PRs that make misc changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants