commit | 551ffe0d692f5cd066b9929503b238fc5bded01f | [log] [tgz] |
---|---|---|
author | madhusudancs@gmail.com <madhusudancs@gmail.com@eaa15691-b419-025a-1212-ee371bd00084> | Thu Apr 04 17:10:48 2013 +0000 |
committer | madhusudancs@gmail.com <madhusudancs@gmail.com@eaa15691-b419-025a-1212-ee371bd00084> | Thu Apr 04 17:10:48 2013 +0000 |
tree | 41f45f1b00e1c91361903f7a889cdbf2064863eb | |
parent | 13116be3dbf3068494a1fe6672168ae02543a5a6 [diff] | |
parent | 9f890fbd6f0ee90f86317b871b1852794c3cf0d7 [diff] |
Merge asterix_lsm_stabilization r1490. git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_stabilization_api_cleanup@1491 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 2602707..b10b42a 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,11 +51,12 @@ int num = 0; int chunkCounter = 0; int recordCounter = 0; - try { + try { while ((lineExpected = readerExpected.readLine()) != null) { - if (jArray.length() <= 0) { - throw new Exception("No results returned for query."); + // Skipe the blank line in the expected file. + if (lineExpected.isEmpty()) { + continue; } JSONArray resultArray = jArray.getJSONArray(chunkCounter); @@ -85,7 +86,6 @@ } finally { readerExpected.close(); } - } private static boolean equalStrings(String s1, String s2) {