From ac3d1788dfa8db5dd8de5a99764b439dd5ec54db Mon Sep 17 00:00:00 2001 From: clemenso Date: Tue, 7 Apr 2009 08:37:53 +0000 Subject: MOCCA-1.1 final git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@327 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- .../src/test/java/at/gv/egiz/bku/binding/ExpiryRemoverTest.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'bkucommon/src/test/java/at/gv/egiz/bku/binding') 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()); -- cgit v1.2.3