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

davidely
18.35.2007 b4d0187cda0cf29a6250e426873e12eb764694d6
Fixed a problem with DirectoryServerPluginTestCase, where the tests would fail when run in isolation.  Now we make sure that the server is always started.
1 files modified
8 ■■■■■ changed files
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/api/plugin/DirectoryServerPluginTestCase.java 8 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/api/plugin/DirectoryServerPluginTestCase.java
@@ -31,11 +31,13 @@
import java.util.HashSet;
import org.testng.annotations.Test;
import org.testng.annotations.BeforeClass;
import org.opends.server.plugins.NullPlugin;
import org.opends.server.types.DisconnectReason;
import org.opends.server.types.DN;
import org.opends.server.types.operation.*;
import org.opends.server.TestCaseUtils;
import static org.testng.Assert.*;
@@ -47,6 +49,12 @@
public class DirectoryServerPluginTestCase
       extends PluginAPITestCase
{
  @BeforeClass
  public void initServer() throws Exception
  {
    TestCaseUtils.startServer();
  }
  /**
   * Tests the <CODE>getPluginEntryDN</CODE> method.
   *