From a5ce1b53bf9304c08bb51639b48bb77085cd62b3 Mon Sep 17 00:00:00 2001
From: davidely <davidely@localhost>
Date: Sun, 02 Sep 2007 04:00:42 +0000
Subject: [PATCH] There are several improvements to the unit test framework in this commit.

---
 opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxTestCase.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxTestCase.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxTestCase.java
index 75f58f7..fb94667 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxTestCase.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxTestCase.java
@@ -47,7 +47,7 @@
 /**
  * An abstract class that all JMX unit test should extend.
  */
-@Test(groups = { "precommit", "jmx" })
+@Test(groups = { "precommit", "jmx" }, sequential = true)
 public abstract class JmxTestCase extends DirectoryServerTestCase
 {
   /**
@@ -60,7 +60,7 @@
   public void setUp() throws Exception
   {
     // Make sure that the server is up and running.
-    TestCaseUtils.startServer();
+    TestCaseUtils.restartServer();
     TestCaseUtils.initializeTestBackend(true);
 
     synchronized (this)

--
Gitblit v1.10.0