From c65b78f462839c02f7a4f1668c73e273fc68275c Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Fri, 21 Dec 2007 07:43:23 +0000
Subject: [PATCH] This moves the longest unit tests to the slow group and therefore from the precommit target to the testall target of the build.xml.

---
 opends/tests/unit-tests-testng/src/server/org/opends/server/admin/server/AggregationTest.java |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/server/AggregationTest.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/server/AggregationTest.java
index 629c525..58695c6 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/server/AggregationTest.java
+++ b/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);

--
Gitblit v1.10.0