directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r1788712 - /directory/studio/trunk/tests/test.integration.ui/src/main/java/org/apache/directory/studio/test/integration/ui/bots/BotUtils.java
Date Sun, 26 Mar 2017 07:21:17 GMT
Author: seelmann
Date: Sun Mar 26 07:21:17 2017
New Revision: 1788712

URL: http://svn.apache.org/viewvc?rev=1788712&view=rev
Log:
Increase wait time for tests with connection failure

Modified:
    directory/studio/trunk/tests/test.integration.ui/src/main/java/org/apache/directory/studio/test/integration/ui/bots/BotUtils.java

Modified: directory/studio/trunk/tests/test.integration.ui/src/main/java/org/apache/directory/studio/test/integration/ui/bots/BotUtils.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/tests/test.integration.ui/src/main/java/org/apache/directory/studio/test/integration/ui/bots/BotUtils.java?rev=1788712&r1=1788711&r2=1788712&view=diff
==============================================================================
--- directory/studio/trunk/tests/test.integration.ui/src/main/java/org/apache/directory/studio/test/integration/ui/bots/BotUtils.java
(original)
+++ directory/studio/trunk/tests/test.integration.ui/src/main/java/org/apache/directory/studio/test/integration/ui/bots/BotUtils.java
Sun Mar 26 07:21:17 2017
@@ -23,8 +23,11 @@ package org.apache.directory.studio.test
 import java.util.Arrays;
 import java.util.List;
 
+import org.apache.directory.ldap.client.api.LdapConnectionConfig;
+import org.apache.directory.ldap.client.api.LdapNetworkConnection;
 import org.eclipse.jface.dialogs.ErrorDialog;
 import org.eclipse.swtbot.swt.finder.SWTBot;
+import org.eclipse.swtbot.swt.finder.utils.SWTBotPreferences;
 import org.eclipse.swtbot.swt.finder.waits.DefaultCondition;
 import org.eclipse.swtbot.swt.finder.widgets.SWTBotShell;
 
@@ -70,7 +73,7 @@ public class BotUtils
                     List<String> asList = Arrays.asList( labels );
                     return "Expected a dialog with any label " + asList + " with an 'OK'
button.";
                 }
-            } );
+            }, SWTBotPreferences.TIMEOUT + LdapConnectionConfig.DEFAULT_TIMEOUT );
         }
         finally
         {



Mime
View raw message