commit | 35c9e9f7b794a402110b1da6de984b4da86a4b16 | [log] [tgz] |
---|---|---|
author | ramangrover29 <ramangrover29@eaa15691-b419-025a-1212-ee371bd00084> | Wed Apr 03 00:05:41 2013 +0000 |
committer | ramangrover29 <ramangrover29@eaa15691-b419-025a-1212-ee371bd00084> | Wed Apr 03 00:05:41 2013 +0000 |
tree | 75a0ff0f1f0469a683c0527cb0efdb424dddb34c | |
parent | b455c4d81f71d2885350b4fef9e21227c5bda061 [diff] | |
parent | c778fb469e83ffdc9f5ee511a424cae819657261 [diff] |
1) changed default home directory for zookeeper 2) introduced java_home entry for zookeeper server(s). git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_lsm_stabilization@1465 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 c38410a..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
@@ -54,6 +54,9 @@ try { while ((lineExpected = readerExpected.readLine()) != null) { + if (jArray.length() <= 0) { + throw new Exception("No results returned for query."); + } JSONArray resultArray = jArray.getJSONArray(chunkCounter); if ((lineActual = resultArray.getString(recordCounter)) == null) {