sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1689873 - in /sis/release-test/maven: pom.xml src/test/java/org/apache/sis/test/IntegrationTest.java
Date Wed, 08 Jul 2015 13:40:21 GMT
Author: desruisseaux
Date: Wed Jul  8 13:40:21 2015
New Revision: 1689873

URL: http://svn.apache.org/r1689873
Log:
Update the integration tests for the next release candidate.

Modified:
    sis/release-test/maven/pom.xml
    sis/release-test/maven/src/test/java/org/apache/sis/test/IntegrationTest.java

Modified: sis/release-test/maven/pom.xml
URL: http://svn.apache.org/viewvc/sis/release-test/maven/pom.xml?rev=1689873&r1=1689872&r2=1689873&view=diff
==============================================================================
--- sis/release-test/maven/pom.xml (original)
+++ sis/release-test/maven/pom.xml Wed Jul  8 13:40:21 2015
@@ -27,7 +27,7 @@
 
   <groupId>org.apache.sis.test</groupId>
   <artifactId>maven</artifactId>
-  <version>0.5</version>
+  <version>0.6-SNAPSHOT</version>
   <packaging>jar</packaging>
 
   <name>Release candidate test</name>

Modified: sis/release-test/maven/src/test/java/org/apache/sis/test/IntegrationTest.java
URL: http://svn.apache.org/viewvc/sis/release-test/maven/src/test/java/org/apache/sis/test/IntegrationTest.java?rev=1689873&r1=1689872&r2=1689873&view=diff
==============================================================================
--- sis/release-test/maven/src/test/java/org/apache/sis/test/IntegrationTest.java [UTF-8]
(original)
+++ sis/release-test/maven/src/test/java/org/apache/sis/test/IntegrationTest.java [UTF-8]
Wed Jul  8 13:40:21 2015
@@ -16,6 +16,8 @@
  */
 package org.apache.sis.test;
 
+import javax.management.JMException;
+import org.junit.AfterClass;
 import org.junit.BeforeClass;
 import org.junit.runners.Suite;
 
@@ -41,5 +43,17 @@ public final strictfp class IntegrationT
     @BeforeClass
     public static void disableCheckForMissingTests() {
         skipCheckForMissingTests = true;
+        skipShutdown = true;
+    }
+
+    /**
+     * Shutdown the library only once after the execution of all test suite.
+     *
+     * @throws JMException If an error occurred during unregistration of the supervisor MBean.
+     */
+    @AfterClass
+    public static void finish() throws JMException {
+        skipShutdown = false;
+        shutdown();
     }
 }



Mime
View raw message