Fix IpFilteringIntegrationTests (#43019) (#43434)

* Increase timeout to 5s since we saw 500ms+ GC pauses on CI
* closes #40689
This commit is contained in:
Armin Braun 2019-06-20 22:31:59 +02:00 committed by GitHub
parent 1053a89b79
commit 21515b9ff1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ public class IpFilteringIntegrationTests extends SecurityIntegTestCase {
@SuppressForbidden(reason = "Allow opening socket for test")
private void trySocketConnection(Socket socket, InetSocketAddress address) throws IOException {
logger.info("connecting to {}", address);
SocketAccess.doPrivileged(() -> socket.connect(address, 500));
SocketAccess.doPrivileged(() -> socket.connect(address, 5000));
assertThat(socket.isConnected(), is(true));
try (OutputStream os = socket.getOutputStream()) {