diff options
Diffstat (limited to 'bkucommon')
-rw-r--r-- | bkucommon/pom.xml | 17 | ||||
-rw-r--r-- | bkucommon/src/test/java/at/gv/egiz/bku/binding/ExpiryRemoverTest.java | 7 |
2 files changed, 9 insertions, 15 deletions
diff --git a/bkucommon/pom.xml b/bkucommon/pom.xml index 5084abcb..bbba25f7 100644 --- a/bkucommon/pom.xml +++ b/bkucommon/pom.xml @@ -1,16 +1,15 @@ <?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <artifactId>bku</artifactId> <groupId>at.gv.egiz</groupId> - <version>1.0.5-SNAPSHOT</version> + <version>1.1.0</version> </parent> <modelVersion>4.0.0</modelVersion> <groupId>at.gv.egiz</groupId> <artifactId>bkucommon</artifactId> <name>BKU Common</name> - <version>1.0.5-SNAPSHOT</version> + <version>1.1.0</version> <build> <plugins> @@ -25,14 +24,12 @@ <wsdlFile>MOA-SPSS-1.3.wsdl</wsdlFile> </wsdlFiles> <sourceDestDir>${project.build.directory}/generated-sources/moaspss</sourceDestDir> <staleFile>${project.build.directory}/generated-sources/moaspss/.staleFlag</staleFile> - <xnocompile>true</xnocompile> </configuration> </plugin - --> + <xnocompile>true</xnocompile> </configuration> </plugin --> <!-- skip tests temporarily <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> - <skip>true</skip> </configuration> </plugin - --> + <skip>true</skip> </configuration> </plugin --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> @@ -52,12 +49,12 @@ <dependency> <groupId>at.gv.egiz</groupId> <artifactId>utils</artifactId> - <version>1.0.5-SNAPSHOT</version> + <version>1.1.0</version> </dependency> <dependency> <groupId>at.gv.egiz</groupId> <artifactId>STALExt</artifactId> - <version>1.0.2-SNAPSHOT</version> + <version>1.1.0</version> </dependency> <dependency> <groupId>commons-logging</groupId> diff --git a/bkucommon/src/test/java/at/gv/egiz/bku/binding/ExpiryRemoverTest.java b/bkucommon/src/test/java/at/gv/egiz/bku/binding/ExpiryRemoverTest.java index 0e64e7a2..18ccc11a 100644 --- a/bkucommon/src/test/java/at/gv/egiz/bku/binding/ExpiryRemoverTest.java +++ b/bkucommon/src/test/java/at/gv/egiz/bku/binding/ExpiryRemoverTest.java @@ -18,14 +18,12 @@ package at.gv.egiz.bku.binding; import java.net.MalformedURLException; -import org.junit.Ignore; import org.junit.Test; import static org.junit.Assert.*; public class ExpiryRemoverTest { @Test - @Ignore public void testMe() throws InterruptedException, MalformedURLException { BindingProcessorManager manager = new BindingProcessorManagerImpl(new DummyStalFactory(), new SLCommandInvokerImpl()); @@ -37,16 +35,15 @@ public class ExpiryRemoverTest { remover.execute(); assertTrue(manager.getManagedIds().size() == 1); remover.setMaxAcceptedAge(1000); - Thread.sleep(500); + Thread.sleep(100); remover.execute(); assertTrue(manager.getManagedIds().size() == 1); - Thread.sleep(510); + Thread.sleep(910); remover.execute(); assertTrue(manager.getManagedIds().size() == 0); } @Test - @Ignore public void testMe2() throws InterruptedException, MalformedURLException { BindingProcessorManager manager = new BindingProcessorManagerImpl(new DummyStalFactory(), new SLCommandInvokerImpl()); |