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

Ludovic Poitou
20.05.2011 63e135906c278c92acf9ef2c0661fd75652034fe
Need to enable backend at the start of test, disable it afterwards
1 files modified
3 ■■■■■ changed files
opends/tests/unit-tests-testng/src/server/org/opends/server/tasks/TestRebuildTask.java 3 ●●●●● patch | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/tasks/TestRebuildTask.java
@@ -23,6 +23,7 @@
 *
 *
 *      Copyright 2006-2009 Sun Microsystems, Inc.
 *      Portions Copyright 2011 ForgeRock AS
 */
package org.opends.server.tasks;
@@ -87,10 +88,12 @@
  @BeforeClass
  public void setup() throws Exception {
    TestCaseUtils.startServer();
    TestCaseUtils.enableBackend("rebuildRoot");
  }
  @AfterClass
  public void cleanUp() throws Exception {
    TestCaseUtils.disableBackend("rebuildRoot");
  }
  @DataProvider(name = "taskentry")