Skip to content

Fix log_retention test: use correct test run variable#12884

Merged
brbzull0 merged 1 commit intoapache:masterfrom
brbzull0:fix/log-retention-test-run-bug
Feb 13, 2026
Merged

Fix log_retention test: use correct test run variable#12884
brbzull0 merged 1 commit intoapache:masterfrom
brbzull0:fix/log-retention-test-run-bug

Conversation

@brbzull0
Copy link
Contributor

This was failing on my box.

Test 7 ('Get the log to rotate.') was calling MakeCurlCommandMulti on test.tr (the test run from the TestLogRetention constructor) instead of the newly created tr. This left the new test run with no process defined, causing the test to fail with 'List came back empty.'

Test 7 ('Get the log to rotate.') was calling MakeCurlCommandMulti on
test.tr (the test run from the TestLogRetention constructor) instead of
the newly created tr. This left the new test run with no process
defined, causing the test to fail with 'List came back empty.'
@brbzull0 brbzull0 requested a review from bneradt February 13, 2026 12:30
@brbzull0 brbzull0 self-assigned this Feb 13, 2026
@brbzull0
Copy link
Contributor Author

@bneradt: This seems to be ok now , not sure if we haven't detect the issue because of the initial skip, but anyways. Works for me now.

@bneradt
Copy link
Contributor

bneradt commented Feb 13, 2026

@bneradt: This seems to be ok now , not sure if we haven't detect the issue because of the initial skip, but anyways. Works for me now.

Yep. This test is skipped in CI because it has timing issues.

Thanks for the fix!

@brbzull0 brbzull0 merged commit 2ffe0ee into apache:master Feb 13, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants