You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@edgent.apache.org by dl...@apache.org on 2016/10/04 21:55:48 UTC

[1/2] incubator-edgent git commit: skip env sensitive TWindowTest.testTimeBasedBatch in travis-ci runs

Repository: incubator-edgent
Updated Branches:
  refs/heads/master f64774aa5 -> bf75b0236


skip env sensitive TWindowTest.testTimeBasedBatch in travis-ci runs

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

Branch: refs/heads/master
Commit: 0c593c840d355c64f340602d56c9b34c2af1031c
Parents: 0067ddd
Author: Dale LaBossiere <dl...@us.ibm.com>
Authored: Tue Oct 4 15:08:07 2016 -0400
Committer: Dale LaBossiere <dl...@us.ibm.com>
Committed: Tue Oct 4 15:08:07 2016 -0400

----------------------------------------------------------------------
 .../test/java/org/apache/edgent/test/topology/TWindowTest.java  | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/0c593c84/api/topology/src/test/java/org/apache/edgent/test/topology/TWindowTest.java
----------------------------------------------------------------------
diff --git a/api/topology/src/test/java/org/apache/edgent/test/topology/TWindowTest.java b/api/topology/src/test/java/org/apache/edgent/test/topology/TWindowTest.java
index ce66653..3d4e340 100644
--- a/api/topology/src/test/java/org/apache/edgent/test/topology/TWindowTest.java
+++ b/api/topology/src/test/java/org/apache/edgent/test/topology/TWindowTest.java
@@ -62,6 +62,9 @@ public abstract class TWindowTest extends TopologyAbstractTest{
     
     @Test
     public void testTimeBasedBatch() throws Exception{
+      // Timing variances on shared machines can cause this test to fail
+      assumeTrue(!Boolean.getBoolean("edgent.build.ci"));
+      
         Topology top = newTopology();
         TStream<Integer> ints = top.poll(() -> {
             return 1;
@@ -77,7 +80,7 @@ public abstract class TWindowTest extends TopologyAbstractTest{
         complete(top, contents);
         System.out.println(contents.getResult());
         for(Integer size : contents.getResult()){
-            assertTrue(size >= 90 && size <= 110);
+            assertTrue("size="+size, size >= 90 && size <= 110);
         }
     }
     


[2/2] incubator-edgent git commit: Merge pull request #209

Posted by dl...@apache.org.
Merge pull request #209

This closes #209


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

Branch: refs/heads/master
Commit: bf75b023673a1c04e7515f5943022edb010656a6
Parents: f64774a 0c593c8
Author: Dale LaBossiere <dl...@us.ibm.com>
Authored: Tue Oct 4 17:55:39 2016 -0400
Committer: Dale LaBossiere <dl...@us.ibm.com>
Committed: Tue Oct 4 17:55:39 2016 -0400

----------------------------------------------------------------------
 .../test/java/org/apache/edgent/test/topology/TWindowTest.java  | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------