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

gbellato
21.43.2007 22a61f19eb8f0e4a6d780415749254f4bdbcb20a
This moves the longest unit tests to the slow group and therefore from the
precommit target to the testall target of the build.xml.

This allows to reduce the duration of the precommit target by several minutes.

Those tests are still run as part of the nightly build or when using the testall target.
4 files modified
36 ■■■■ changed files
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/server/AggregationTest.java 12 ●●●● patch | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/GenerationIdTest.java 4 ●●●● patch | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/InitOnLineTest.java 16 ●●●● patch | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/util/CertificateManagerTestCase.java 4 ●●●● patch | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/server/AggregationTest.java
@@ -443,7 +443,7 @@
   * @throws Exception
   *           If the test unexpectedly fails.
   */
  @Test
  @Test(groups="slow")
  public void testAggregationDisabledReference1() throws Exception {
    // Add the entry and the connection handler.
    TestCaseUtils.addEntry(TEST_CHILD_6);
@@ -504,7 +504,7 @@
   * @throws Exception
   *           If the test unexpectedly fails.
   */
  @Test
  @Test(groups="slow")
  public void testAggregationDisabledReference2() throws Exception {
    // Add the entry.
    TestCaseUtils.addEntry(TEST_CHILD_7);
@@ -566,7 +566,7 @@
   * @throws Exception
   *           If the test unexpectedly fails.
   */
  @Test
  @Test(groups="slow")
  public void testAggregationDisabledReference3() throws Exception {
    // Add the entry.
    TestCaseUtils.addEntry(TEST_CHILD_6);
@@ -629,7 +629,7 @@
   * @throws Exception
   *           If the test unexpectedly fails.
   */
  @Test
  @Test(groups="slow")
  public void testAggregationDisabledReference4() throws Exception {
    // Add the entry.
    TestCaseUtils.addEntry(TEST_CHILD_7);
@@ -745,7 +745,7 @@
   * @throws Exception
   *           If the test unexpectedly fails.
   */
  @Test
  @Test(groups="slow")
  public void testCannotDeleteReferencedComponent() throws Exception {
    // Add the entry.
    TestCaseUtils.addEntry(TEST_CHILD_7);
@@ -819,7 +819,7 @@
   * @throws Exception
   *           If the test unexpectedly fails.
   */
  @Test
  @Test(groups="slow")
  public void testCannotDisableReferencedComponent() throws Exception {
    // Add the entry.
    TestCaseUtils.addEntry(TEST_CHILD_7);
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/GenerationIdTest.java
@@ -1241,7 +1241,7 @@
   * at the moement when the replication is enabled.
   * @throws Exception
   */
  @Test(enabled=false)
  @Test(enabled=false, groups="slow")
  public void testServerStop() throws Exception
  {
    String testCase = "testServerStop";
@@ -1285,7 +1285,7 @@
      debugInfo("Successfully ending " + testCase);
    }
  }
  @Test(enabled=true)
  @Test(enabled=true, groups="slow")
  public void generationIdTest() throws Exception
  {
    testSingleRS();
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/InitOnLineTest.java
@@ -705,7 +705,7 @@
  /**
   * Tests the import side of the Initialize task
   */
  @Test(enabled=true)
  @Test(enabled=true, groups="slow")
  public void initializeImport() throws Exception
  {
    String testCase = "InitializeImport";
@@ -761,7 +761,7 @@
  /**
   * Tests the export side of the Initialize task
   */
  @Test(enabled=true)
  @Test(enabled=true, groups="slow")
  public void initializeExport() throws Exception
  {
    String testCase = "Replication/InitializeExport";
@@ -795,7 +795,7 @@
  /**
   * Tests the import side of the InitializeTarget task
   */
  @Test(enabled=true)
  @Test(enabled=true, groups="slow")
  public void initializeTargetExport() throws Exception
  {
    String testCase = "Replication/InitializeTargetExport";
@@ -835,7 +835,7 @@
  /**
   * Tests the import side of the InitializeTarget task
   */
  @Test(enabled=true)
  @Test(enabled=true, groups="slow")
  public void initializeTargetExportAll() throws Exception
  {
    String testCase = "Replication/InitializeTargetExportAll";
@@ -880,7 +880,7 @@
 /**
   * Tests the import side of the InitializeTarget task
   */
  @Test(enabled=true)
  @Test(enabled=true, groups="slow")
  public void initializeTargetImport() throws Exception
  {
    String testCase = "InitializeTargetImport";
@@ -1063,7 +1063,7 @@
   * ReplServerInfoMessage(s) exchanged by the replication
   * servers.
   */
  @Test(enabled=true)
  @Test(enabled=true, groups="slow")
  public void testReplServerInfos() throws Exception
  {
    String testCase = "Replication/TestReplServerInfos";
@@ -1135,7 +1135,7 @@
    changelog1 = null;
  }
  
  @Test(enabled=true)
  @Test(enabled=true, groups="slow")
  public void initializeTargetExportMultiSS() throws Exception
  {
    try
@@ -1185,7 +1185,7 @@
    }
  }
  @Test(enabled=true)
  @Test(enabled=true, groups="slow")
  public void initializeExportMultiSS() throws Exception
  {
    String testCase = "Replication/InitializeExportMultiSS";
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/util/CertificateManagerTestCase.java
@@ -829,7 +829,7 @@
   *
   * @throws  Exception  If a problem occurs.
   */
  @Test()
  @Test(groups="slow")
  public void testGenerateSelfSignedCertificatePKCS12()
         throws Exception
  {
@@ -1061,7 +1061,7 @@
   *
   * @throws  Exception  If a problem occurs.
   */
  @Test()
  @Test(groups="slow")
  public void testGenerateCSRPKCS12()
         throws Exception
  {