From 424b0a46e9d5053ae7c1a54f43a721eeeb64d3ec Mon Sep 17 00:00:00 2001
From: lutoff <lutoff@localhost>
Date: Tue, 13 May 2008 12:33:51 +0000
Subject: [PATCH] Make sure that the BeforeClass is called
---
opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxPrivilegeTestCase.java | 2 +-
opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxTestCase.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxPrivilegeTestCase.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxPrivilegeTestCase.java
index 3d69c9f..9351200 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxPrivilegeTestCase.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxPrivilegeTestCase.java
@@ -111,7 +111,7 @@
*
* @throws Exception If an unexpected problem occurs.
*/
- @BeforeClass()
+ @BeforeClass(alwaysRun = true)
public void setUp()
throws Exception
{
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 b2beeb9..05dd852 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
@@ -56,7 +56,7 @@
* @throws Exception
* If the environment could not be set up.
*/
- @BeforeClass
+ @BeforeClass(alwaysRun = true)
public void setUp() throws Exception
{
// Make sure that the server is up and running.
--
Gitblit v1.10.0