summaryrefslogtreecommitdiff
path: root/bkucommon/src
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-04-07 08:37:53 +0000
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-04-07 08:37:53 +0000
commitac3d1788dfa8db5dd8de5a99764b439dd5ec54db (patch)
tree9dc65bae1994432caf35d0d05b2f08393fc9ff45 /bkucommon/src
parent78728a96af022bae87e4d0d11855f420736d87b7 (diff)
downloadmocca-ac3d1788dfa8db5dd8de5a99764b439dd5ec54db.tar.gz
mocca-ac3d1788dfa8db5dd8de5a99764b439dd5ec54db.tar.bz2
mocca-ac3d1788dfa8db5dd8de5a99764b439dd5ec54db.zip
MOCCA-1.1 final
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@327 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());