Skip to content

GH-51096: [CI][C++] Remove useless test-file-cleanup and retry logic from run-test.sh - #51110

Open
Diveyam-Mishra wants to merge 1 commit into
apache:mainfrom
Diveyam-Mishra:gh-51096-remove-test-cleanup
Open

GH-51096: [CI][C++] Remove useless test-file-cleanup and retry logic from run-test.sh#51110
Diveyam-Mishra wants to merge 1 commit into
apache:mainfrom
Diveyam-Mishra:gh-51096-remove-test-cleanup

Conversation

@Diveyam-Mishra

@Diveyam-Mishra Diveyam-Mishra commented Aug 31, 2026

Copy link
Copy Markdown

Rationale for this change

As noted in GH-51096, the test-file-cleanup code in run-test.sh calls find twice back-to-back with the same parameters, computes the difference, and tries to delete files only in the second result. But nothing happens between the two find calls, so the results are always identical and no files are ever deleted. Additionally, $TEST_TMPDIR was never defined anywhere in the codebase.

What changes are included in this PR?

Removed the TEST_EXECUTION_ATTEMPTS variable.
Removed the entire retry for loop and TEST_TMPDIR cleanup logic (the two find calls, comm diff, and directory deletion).

Are these changes tested?

Yes.

Are there any user-facing changes?

No.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant