asterixdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amo...@apache.org
Subject incubator-asterixdb git commit: Fix Input Handler Test
Date Fri, 20 May 2016 05:33:53 GMT
Repository: incubator-asterixdb
Updated Branches:
  refs/heads/master 51f01bfe1 -> 20dd96741


Fix Input Handler Test

The test was checking that the data was fully consumed before it closes
the input handler. The test was fixed to close it before it checks.

Change-Id: I6e0e8f130a8250d9cddeb9077f9c4b79491f6fd9
Reviewed-on: https://asterix-gerrit.ics.uci.edu/872
Reviewed-by: Michael Blow <michael.blow@couchbase.com>
Reviewed-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>


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

Branch: refs/heads/master
Commit: 20dd967410e91fb828990c445b3732f78ecd13f1
Parents: 51f01bf
Author: Abdullah Alamoudi <bamousaa@gmail.com>
Authored: Thu May 19 21:55:26 2016 -0700
Committer: abdullah alamoudi <bamousaa@gmail.com>
Committed: Thu May 19 22:33:28 2016 -0700

----------------------------------------------------------------------
 .../org/apache/asterix/external/feed/test/InputHandlerTest.java     | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/blob/20dd9674/asterixdb/asterix-external-data/src/test/java/org/apache/asterix/external/feed/test/InputHandlerTest.java
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-external-data/src/test/java/org/apache/asterix/external/feed/test/InputHandlerTest.java
b/asterixdb/asterix-external-data/src/test/java/org/apache/asterix/external/feed/test/InputHandlerTest.java
index 705d5e3..1312721 100644
--- a/asterixdb/asterix-external-data/src/test/java/org/apache/asterix/external/feed/test/InputHandlerTest.java
+++ b/asterixdb/asterix-external-data/src/test/java/org/apache/asterix/external/feed/test/InputHandlerTest.java
@@ -714,6 +714,7 @@ public class InputHandlerTest extends TestCase {
             Assert.assertEquals(1, handler.framesOnDisk());
             writer.unfreeze();
             result.get();
+            handler.close();
             Assert.assertEquals(0, handler.framesOnDisk());
         } catch (Throwable th) {
             th.printStackTrace();


Mime
View raw message