This tests is not fixable and reproducible. The only thing we can do in order to minimize intermittent failures is increasing the retry count and adding a thread.sleep() before retrying.
Old PR link for the reference :- https://github.com/openjdk/jdk/pull/19358 ------------- Commit messages: - JDK-8334928 : Increase retry count and added loggers. Changes: https://git.openjdk.org/jdk/pull/28198/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28198&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8334928 Stats: 5 lines in 2 files changed: 3 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/28198.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/28198/head:pull/28198 PR: https://git.openjdk.org/jdk/pull/28198
