mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
10.28.2011 a9896799125f55041ad5bfe2b746a7a24abe0ccf
OPENDJ-256: increase timeout for TestImportAndExport since our CI environment is quite slow and imports are taking longer than 60 seconds.
1 files modified
5 ■■■■ changed files
opends/tests/unit-tests-testng/src/server/org/opends/server/tasks/TestImportAndExport.java 5 ●●●● patch | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/tasks/TestImportAndExport.java
@@ -23,6 +23,7 @@
 *
 *
 *      Copyright 2006-2009 Sun Microsystems, Inc.
 *      Portions copyright 2011 ForgeRock AS
 */
package org.opends.server.tasks;
@@ -373,7 +374,9 @@
    ObjectClass exportClass =
         DirectoryServer.getObjectClass("ds-task-export", true);
    testTask(taskEntry, expectedState, 60);
    // Use a big timeout since this test is sensitive to host environment (e.g.
    // low memory, etc). See issue OPENDJ-256.
    testTask(taskEntry, expectedState, 600);
     if ((expectedState == TaskState.COMPLETED_SUCCESSFULLY) ||
        (expectedState == TaskState.COMPLETED_WITH_ERRORS))
    {