diff options
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_340709_Test.java')
-rw-r--r-- | plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_340709_Test.java | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_340709_Test.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_340709_Test.java index ebeb250a11..ba994b7e96 100644 --- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_340709_Test.java +++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_340709_Test.java @@ -21,7 +21,6 @@ import org.eclipse.net4j.util.event.IEvent; import org.eclipse.net4j.util.event.IListener; import java.util.concurrent.CountDownLatch; -import java.util.concurrent.TimeUnit; /** * @author Martin Fluegge @@ -69,14 +68,7 @@ public class Bugzilla_340709_Test extends AbstractCDOTest { handleNotify(transaction); - try - { - latch.await(DEFAULT_TIMEOUT, TimeUnit.MILLISECONDS); - } - catch (InterruptedException ex) - { - throw new RuntimeException(ex); - } + await(latch); } } @@ -88,6 +80,7 @@ public class Bugzilla_340709_Test extends AbstractCDOTest { msg("DEAD"); transaction.getRootResource(); + msg("LOCK"); latch.countDown(); } |