* Increase timeout to 5s since we saw 500ms+ GC pauses on CI * closes #40689
This commit is contained in:
parent
1053a89b79
commit
21515b9ff1
|
@ -76,7 +76,7 @@ public class IpFilteringIntegrationTests extends SecurityIntegTestCase {
|
||||||
@SuppressForbidden(reason = "Allow opening socket for test")
|
@SuppressForbidden(reason = "Allow opening socket for test")
|
||||||
private void trySocketConnection(Socket socket, InetSocketAddress address) throws IOException {
|
private void trySocketConnection(Socket socket, InetSocketAddress address) throws IOException {
|
||||||
logger.info("connecting to {}", address);
|
logger.info("connecting to {}", address);
|
||||||
SocketAccess.doPrivileged(() -> socket.connect(address, 500));
|
SocketAccess.doPrivileged(() -> socket.connect(address, 5000));
|
||||||
|
|
||||||
assertThat(socket.isConnected(), is(true));
|
assertThat(socket.isConnected(), is(true));
|
||||||
try (OutputStream os = socket.getOutputStream()) {
|
try (OutputStream os = socket.getOutputStream()) {
|
||||||
|
|
Loading…
Reference in New Issue