Skip to content

Fix Windows file deletion races in TailerTest - #928

Merged
garydgregory merged 1 commit into
apache:masterfrom
garydgregory:fix-tailer-test-windows-races
Nov 9, 2026
Merged

garydgregory merged 1 commit into
apache:masterfrom
garydgregory:fix-tailer-test-windows-races

Conversation

@garydgregory

Copy link
Copy Markdown
Member

Fix Windows file deletion races in TailerTest.

@garydgregory
garydgregory force-pushed the fix-tailer-test-windows-races branch from df92a4d to a2607b1 Compare November 9, 2026 19:05
Retry deletion while the tailer temporarily holds the file open.
After requesting shutdown, clean up validated files on Windows before
JUnit removes the temporary directory. Preserve validation failures
when cleanup also fails, and document the synchronization assumptions.
@garydgregory
garydgregory force-pushed the fix-tailer-test-windows-races branch from a2607b1 to feb37bb Compare November 9, 2026 19:39
@garydgregory
garydgregory merged commit 74d4b59 into apache:master Nov 9, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant