RFR: 8314614: jdk/jshell/ImportTest.java failed with "InternalError: Failed remote listen" [v2]
Jan Lahoda
jlahoda at openjdk.org
Tue Nov 14 12:14:30 UTC 2023
On Tue, 14 Nov 2023 12:09:51 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:
>> JShell by default runs the user's snippets in a separate JVM. This is usually reliable, but during tests, it sometimes happens the remote/separate JVM does not start properly, and the tests fail.
>>
>> This patch tries to change the default JShell execution in tests so that if the start of the separate JVM fails, the "local" (in process) execution is used. This should improve the stability of the tests.
>>
>> Non-test JShell execution remains unmodified.
>>
>> Note that individual tests can override this behavior, for example when they want to test a specific execution.
>
> Jan Lahoda has updated the pull request incrementally with one additional commit since the last revision:
>
> Stabilization of FailOver tests.
I've updated the `FailOver*` tests to use `local` execution as the actual execution that should succeed (after those that intentionally fail). I believe the tests still perform the tests they are supposed to perform, but the local execution should be much more reliable.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16632#issuecomment-1810089891
More information about the kulla-dev
mailing list