A few changes to avoid test flakiness.
--------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - 8387578: Test sun/security/ssl/SSLSessionImpl/ResumeChecksServer.java failed: Existing session was used: FAIL Changes: https://git.openjdk.org/jdk/pull/31813/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31813&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8387578 Stats: 7 lines in 1 file changed: 4 ins; 0 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/31813.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31813/head:pull/31813 PR: https://git.openjdk.org/jdk/pull/31813
