Author: midon
Date: Tue Mar  3 20:19:03 2009
New Revision: 749725

URL: http://svn.apache.org/viewvc?rev=749725&view=rev
Log:
test processes seem to interfere with each other

Modified:
    
ode/trunk/axis2-war/src/test/java/org/apache/ode/axis2/rampart/policy/SecuredServicesTest.java

Modified: 
ode/trunk/axis2-war/src/test/java/org/apache/ode/axis2/rampart/policy/SecuredServicesTest.java
URL: 
http://svn.apache.org/viewvc/ode/trunk/axis2-war/src/test/java/org/apache/ode/axis2/rampart/policy/SecuredServicesTest.java?rev=749725&r1=749724&r2=749725&view=diff
==============================================================================
--- 
ode/trunk/axis2-war/src/test/java/org/apache/ode/axis2/rampart/policy/SecuredServicesTest.java
 (original)
+++ 
ode/trunk/axis2-war/src/test/java/org/apache/ode/axis2/rampart/policy/SecuredServicesTest.java
 Tue Mar  3 20:19:03 2009
@@ -20,8 +20,8 @@
 package org.apache.ode.axis2.rampart.policy;
 
 import static org.testng.AssertJUnit.assertTrue;
-import org.testng.annotations.AfterClass;
-import org.testng.annotations.BeforeClass;
+import org.testng.annotations.AfterMethod;
+import org.testng.annotations.BeforeMethod;
 import org.testng.annotations.DataProvider;
 import org.testng.annotations.Test;
 import org.apache.ode.axis2.Axis2TestBase;
@@ -52,13 +52,13 @@
     }
 
 
-    @BeforeClass
+    @BeforeMethod
     protected void setUp() throws Exception {
         // mind the annotation above also
         startServer(testDir, "webapp/WEB-INF/conf/axis2.xml");
     }
 
-    @AfterClass
+    @AfterMethod
     protected void tearDown() throws Exception {
         // simply change the annotation, see above
         super.tearDown();


Reply via email to