> The SSLSocketSSLEngineCloseInbound.java test runs with different protocols, > namely TLSv1.3, TLSv1.2, TLSv1.1, TLSv1, and TLS. The test log file shows > that it completed successfully for the first four protocols, but it failed > when running with protocol=TLS. Protocol TLS is resolved to TLSv1.3. The > failure in the test is a timing-related issue, that server continues with > write() after the client has already closed its side of the connection. This > change removes the race condition by synchronizing the client and server with > CountDownLatch. > > Have validated the change to ensure the test to pass (with > JTREG=REPEAT_COUNT=50).
Hai-May Chao has updated the pull request incrementally with one additional commit since the last revision: Update with Daniel's comment ------------- Changes: - all: https://git.openjdk.org/jdk/pull/30340/files - new: https://git.openjdk.org/jdk/pull/30340/files/9b1dc36f..d17e8a20 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=30340&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30340&range=01-02 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/30340.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30340/head:pull/30340 PR: https://git.openjdk.org/jdk/pull/30340
