From a9613a324b1effe4acea72528ce276f8fdd6a7e6 Mon Sep 17 00:00:00 2001 From: Artur Barashev Date: Tue, 28 Apr 2026 12:20:42 +0000 Subject: [PATCH] 8382222: sun/security/ssl/SSLSocketImpl/SSLSocketBruteForceClose.java fails sporadically Reviewed-by: mbaesken --- .../security/ssl/SSLSocketImpl/SSLSocketBruteForceClose.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/jdk/sun/security/ssl/SSLSocketImpl/SSLSocketBruteForceClose.java b/test/jdk/sun/security/ssl/SSLSocketImpl/SSLSocketBruteForceClose.java index bbc8a4f8bf5..78263b8c828 100644 --- a/test/jdk/sun/security/ssl/SSLSocketImpl/SSLSocketBruteForceClose.java +++ b/test/jdk/sun/security/ssl/SSLSocketImpl/SSLSocketBruteForceClose.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2018, 2026, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -73,7 +73,7 @@ public class SSLSocketBruteForceClose extends SSLSocketTemplate { protected void configureClientSocket(SSLSocket socket) { try { socket.setSoLinger(true, 3); - socket.setSoTimeout(1000); + socket.setSoTimeout(5000); } catch (SocketException exc) { throw new RuntimeException("Could not configure client socket", exc); }