Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2013-01-12 07:19:27 -0500
committerEike Stepper2013-01-12 07:19:27 -0500
commit07d8beee21a586255115f2722274216a930a5be3 (patch)
tree85fe83180614e0978f1480dab0d69f200a568e99
parent5e9214d2630d85e77752536308d6244d261ff44d (diff)
downloadcdo-07d8beee21a586255115f2722274216a930a5be3.tar.gz
cdo-07d8beee21a586255115f2722274216a930a5be3.tar.xz
cdo-07d8beee21a586255115f2722274216a930a5be3.zip
Enhance failure reporting
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_390185_Test.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_390185_Test.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_390185_Test.java
index 93d411e5f2..d2beb886f0 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_390185_Test.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_390185_Test.java
@@ -11,6 +11,7 @@ import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
+import java.util.concurrent.TimeoutException;
/**
* Bug 390185.
@@ -35,7 +36,10 @@ public class Bugzilla_390185_Test extends AbstractCDOTest
actors.add(actor);
}
- assertEquals(true, latch.await(DEFAULT_TIMEOUT, TimeUnit.MILLISECONDS));
+ if (!latch.await(DEFAULT_TIMEOUT, TimeUnit.MILLISECONDS))
+ {
+ throw new TimeoutException();
+ }
}
/**

Back to the top