improve testPressureReliever() test failure output

Project: http://git-wip-us.apache.org/repos/asf/incubator-edgent/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-edgent/commit/1e9f0a09
Tree: http://git-wip-us.apache.org/repos/asf/incubator-edgent/tree/1e9f0a09
Diff: http://git-wip-us.apache.org/repos/asf/incubator-edgent/diff/1e9f0a09

Branch: refs/heads/master
Commit: 1e9f0a0988a1cb800ea3b28456cc962f52bfd61d
Parents: f7fb054
Author: Dale LaBossiere <[email protected]>
Authored: Mon Nov 14 16:52:52 2016 -0500
Committer: Dale LaBossiere <[email protected]>
Committed: Mon Nov 14 16:52:52 2016 -0500

----------------------------------------------------------------------
 .../test/java/org/apache/edgent/test/topology/PlumbingTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/1e9f0a09/api/topology/src/test/java/org/apache/edgent/test/topology/PlumbingTest.java
----------------------------------------------------------------------
diff --git 
a/api/topology/src/test/java/org/apache/edgent/test/topology/PlumbingTest.java 
b/api/topology/src/test/java/org/apache/edgent/test/topology/PlumbingTest.java
index e77330b..4a347ed 100644
--- 
a/api/topology/src/test/java/org/apache/edgent/test/topology/PlumbingTest.java
+++ 
b/api/topology/src/test/java/org/apache/edgent/test/topology/PlumbingTest.java
@@ -191,7 +191,7 @@ public abstract class PlumbingTest extends 
TopologyAbstractTest {
         
         assertTrue(tcProcessed.getResult().size() > 
tcSlowM.getResult().size());
         for (TimeAndId delay : tcSlowM.getResult())
-            assertTrue(delay.ms < 300);
+            assertTrue("delay:"+delay, delay.ms < 300);
 
         // Must not lose any tuples in the non relieving path
         Set<TimeAndId> uniq = new HashSet<>(tcRaw.getResult());

Reply via email to