commit | d85a6a2110fea4b6f01f02d37710fc8f04bd9c73 | [log] [tgz] |
---|---|---|
author | madhusudancs@gmail.com <madhusudancs@gmail.com@eaa15691-b419-025a-1212-ee371bd00084> | Thu Apr 04 03:40:34 2013 +0000 |
committer | madhusudancs@gmail.com <madhusudancs@gmail.com@eaa15691-b419-025a-1212-ee371bd00084> | Thu Apr 04 03:40:34 2013 +0000 |
tree | 7360cb7d3194e4c077e9d189058959fd5e28f7bd | |
parent | bbcaca656506009066d080ad062b28fb21dd5ee7 [diff] |
Rollback r1474. git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_lsm_stabilization@1477 eaa15691-b419-025a-1212-ee371bd00084
diff --git a/asterix-app/src/test/java/edu/uci/ics/asterix/test/aql/TestsUtils.java b/asterix-app/src/test/java/edu/uci/ics/asterix/test/aql/TestsUtils.java index 2a16f2c..2602707 100644 --- a/asterix-app/src/test/java/edu/uci/ics/asterix/test/aql/TestsUtils.java +++ b/asterix-app/src/test/java/edu/uci/ics/asterix/test/aql/TestsUtils.java
@@ -51,7 +51,6 @@ int num = 0; int chunkCounter = 0; int recordCounter = 0; - try { while ((lineExpected = readerExpected.readLine()) != null) { @@ -74,8 +73,15 @@ if (recordCounter >= resultArray.length()) { chunkCounter++; recordCounter = 0; + if (chunkCounter >= jArray.length()) { + break; + } } } + + while ((lineExpected = readerExpected.readLine()) != null) { + // TODO(khurram): Print out the remaining expected file contents + } } finally { readerExpected.close(); }