From f808ee64f3fc408baefdf7fd2c71b5ee9c909d0b Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 05 Oct 2012 13:44:44 +0000
Subject: [PATCH] Add timeout for testBlockingFutureNoHandler since it is taking a huge amount of time in Jenkins for some reason.
---
opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/ConnectionFactoryTestCase.java | 2 +-
1 files changed, 1 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 19887b1..a01aae2 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
@@ -245,7 +245,7 @@
*
* @throws Exception
*/
- @Test(dataProvider = "connectionFactories")
+ @Test(dataProvider = "connectionFactories", timeOut = TEST_TIMEOUT_MS)
public void testBlockingFutureNoHandler(ConnectionFactory factory) throws Exception {
final FutureResult<Connection> future = factory.getConnectionAsync(null);
final Connection con = future.get();
--
Gitblit v1.10.0