diff options
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_355915_Test.java')
-rw-r--r-- | plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_355915_Test.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_355915_Test.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_355915_Test.java index e280885ab2..91a6d63d32 100644 --- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_355915_Test.java +++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_355915_Test.java @@ -25,7 +25,6 @@ import org.eclipse.emf.ecore.resource.Resource; import java.util.Collections; import java.util.concurrent.CountDownLatch; -import java.util.concurrent.TimeUnit; /** * @author Martin Fluegge @@ -89,7 +88,7 @@ public class Bugzilla_355915_Test extends AbstractCDOTest thread.start(); thread.join(); - latch.await(DEFAULT_TIMEOUT, TimeUnit.MILLISECONDS); + await(latch); assertEquals(true, adapter.notified()); assertEquals(true, adapter.assertCorrectNotification()); } @@ -140,7 +139,7 @@ public class Bugzilla_355915_Test extends AbstractCDOTest thread.start(); thread.join(); - latch.await(DEFAULT_TIMEOUT, TimeUnit.MILLISECONDS); + await(latch); assertEquals(true, adapter.notified()); assertEquals(true, adapter.assertCorrectNotification()); } |