Commit 15f5079
authored
MINOR: Fix flaky TestBasicAuth memory leak by waiting for async buffer release (#1058)
## 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.1 parent 7cbf159 commit 15f5079
1 file changed
Lines changed: 6 additions & 0 deletions
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
181 | 187 | | |
182 | 188 | | |
183 | 189 | | |
0 commit comments