flume-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johnyru...@apache.org
Subject flume git commit: FLUME-2485. Thrift Source tests fail on Oracle JDK 8
Date Wed, 05 Aug 2015 15:09:16 GMT
Repository: flume
Updated Branches:
  refs/heads/flume-1.7 6c6776cb6 -> c4460bdbf


FLUME-2485. Thrift Source tests fail on Oracle JDK 8

(Miroslav Holubec via Johny Rufus)


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

Branch: refs/heads/flume-1.7
Commit: c4460bdbf6147618d90871842d52c20a311a18b7
Parents: 6c6776c
Author: Johny Rufus <johnyrufus@apache.org>
Authored: Wed Aug 5 07:55:51 2015 -0700
Committer: Johny Rufus <johnyrufus@apache.org>
Committed: Wed Aug 5 08:08:37 2015 -0700

----------------------------------------------------------------------
 .../src/test/java/org/apache/flume/source/TestThriftSource.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flume/blob/c4460bdb/flume-ng-core/src/test/java/org/apache/flume/source/TestThriftSource.java
----------------------------------------------------------------------
diff --git a/flume-ng-core/src/test/java/org/apache/flume/source/TestThriftSource.java b/flume-ng-core/src/test/java/org/apache/flume/source/TestThriftSource.java
index 8b9fa23..3d2901a 100644
--- a/flume-ng-core/src/test/java/org/apache/flume/source/TestThriftSource.java
+++ b/flume-ng-core/src/test/java/org/apache/flume/source/TestThriftSource.java
@@ -178,7 +178,7 @@ public class TestThriftSource {
     for (int i = 0; i < 300; i++) {
       Event event = channel.take();
       Assert.assertNotNull(event);
-      Assert.assertTrue(Long.valueOf(event.getHeaders().get("time")) < after);
+      Assert.assertTrue(Long.valueOf(event.getHeaders().get("time")) <= after);
       events.add(Integer.parseInt(new String(event.getBody())));
     }
     transaction.commit();


Mime
View raw message