summaryrefslogtreecommitdiff
path: root/bkucommon/src
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-04-07 09:13:14 +0000
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-04-07 09:13:14 +0000
commit2be4c7f179bb50c1b9103f16912310afd4be2686 (patch)
tree610269ce3d6cca500b7c3d9a76cdc71ae2e9e249 /bkucommon/src
parent78728a96af022bae87e4d0d11855f420736d87b7 (diff)
downloadmocca-1.1.0.tar.gz
mocca-1.1.0.tar.bz2
mocca-1.1.0.zip
[maven-release-plugin] copy for tag mocca-1.1.0mocca-1.1.0
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/tags/mocca-1.1.0@330 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'bkucommon/src')
-rw-r--r--bkucommon/src/test/java/at/gv/egiz/bku/binding/ExpiryRemoverTest.java7
1 files changed, 2 insertions, 5 deletions
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());