Integrated: 8375015: CompletionAPITest::testDocumentation failed - AssertionFailedError: expected: <null> but was: <jshelltest.JShellTest>
Christian Stein
cstein at openjdk.org
Tue Jan 20 16:32:35 UTC 2026
On Tue, 13 Jan 2026 16:07:03 GMT, Christian Stein <cstein at openjdk.org> wrote:
> Please review this change to allow the test do work on more machines.
>
> Prior to this change, the timeout was too tight and the busy-waiting loop to CPU greedy (on some machines) to let the underlying garbarge collector perform its work and release the referene in question. That led to an assertion that failed.
>
> This change increases the timeout by a flat 10x and also "yields" by invoking `Thread.sleep(100)` in the wait loop.
This pull request has now been integrated.
Changeset: b2b4729b
Author: Christian Stein <cstein at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/b2b4729ba2dbbb7cecb177612bd08927ccb085f2
Stats: 5 lines in 1 file changed: 1 ins; 0 del; 4 mod
8375015: CompletionAPITest::testDocumentation failed - AssertionFailedError: expected: <null> but was: <jshelltest.JShellTest>
Reviewed-by: jlahoda
-------------
PR: https://git.openjdk.org/jdk/pull/29196
More information about the compiler-dev
mailing list