From 83f128f28521e6d730fdc77c43b64aceb466822f Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 05 Oct 2012 14:37:36 +0000
Subject: [PATCH] Extend timeout for all tests.
---
opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/ConnectionFactoryTestCase.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/ConnectionFactoryTestCase.java b/opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/ConnectionFactoryTestCase.java
index a01aae2..7c270c4 100644
--- a/opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/ConnectionFactoryTestCase.java
+++ b/opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/ConnectionFactoryTestCase.java
@@ -72,6 +72,7 @@
* Tests the {@code ConnectionFactory} classes.
*/
@SuppressWarnings("javadoc")
+@Test(timeOut = 10000)
public class ConnectionFactoryTestCase extends SdkTestCase {
// Test timeout in ms for tests which need to wait for network events.
private static final long TEST_TIMEOUT = 30L;
@@ -245,7 +246,7 @@
*
* @throws Exception
*/
- @Test(dataProvider = "connectionFactories", timeOut = TEST_TIMEOUT_MS)
+ @Test(dataProvider = "connectionFactories")
public void testBlockingFutureNoHandler(ConnectionFactory factory) throws Exception {
final FutureResult<Connection> future = factory.getConnectionAsync(null);
final Connection con = future.get();
--
Gitblit v1.10.0