Skip to content

Correct the code not to rely on wall clock 1 second in waiter.join. - #16558

Merged
dweiss merged 1 commit into
apache:mainfrom
dweiss:fix-TestControlledRealTimeReopenThread
Aug 25, 2026
Merged

Correct the code not to rely on wall clock 1 second in waiter.join.#16558
dweiss merged 1 commit into
apache:mainfrom
dweiss:fix-TestControlledRealTimeReopenThread

Conversation

@dweiss

@dweiss dweiss commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

CI run error https://ci-builds.apache.org/job/Lucene/job/Lucene-Check-main%20(s390x%20big%20endian)/1328/consoleFull

This is 99.9% caused by slow VM and thread.join(1 second) just falling through, with subsequent assertions and checks being noise.

I replaced it with an indefinite join(). If the code hangs, the framework will terminate it on a suite timeout.

@dweiss dweiss added this to the 10.6.0 milestone Aug 25, 2026
@dweiss
dweiss merged commit 6c73e1f into apache:main Aug 25, 2026
12 checks passed
@dweiss
dweiss deleted the fix-TestControlledRealTimeReopenThread branch August 25, 2026 19:57
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.

1 participant