You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2017/02/22 03:45:03 UTC

kylin git commit: minor improvement on ITFailfastQueryTest

Repository: kylin
Updated Branches:
  refs/heads/master 4bdb62cb3 -> 4c512f00f


minor improvement on ITFailfastQueryTest


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

Branch: refs/heads/master
Commit: 4c512f00fc38efa6a211327c3cb32dee4b788007
Parents: 4bdb62c
Author: Hongbin Ma <ma...@apache.org>
Authored: Wed Feb 22 11:44:50 2017 +0800
Committer: Hongbin Ma <ma...@apache.org>
Committed: Wed Feb 22 11:44:50 2017 +0800

----------------------------------------------------------------------
 .../java/org/apache/kylin/query/ITFailfastQueryTest.java     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/4c512f00/kylin-it/src/test/java/org/apache/kylin/query/ITFailfastQueryTest.java
----------------------------------------------------------------------
diff --git a/kylin-it/src/test/java/org/apache/kylin/query/ITFailfastQueryTest.java b/kylin-it/src/test/java/org/apache/kylin/query/ITFailfastQueryTest.java
index a3720c8..73a597a 100644
--- a/kylin-it/src/test/java/org/apache/kylin/query/ITFailfastQueryTest.java
+++ b/kylin-it/src/test/java/org/apache/kylin/query/ITFailfastQueryTest.java
@@ -67,7 +67,7 @@ public class ITFailfastQueryTest extends KylinTestBase {
     public void testPartitionExceedMaxScanBytes() throws Exception {
         String key = "kylin.storage.partition.max-scan-bytes";
         long saved = KylinConfig.getInstanceFromEnv().getPartitionMaxScanBytes();
-        KylinConfig.getInstanceFromEnv().setProperty(key, "18000");//very low threshold 
+        KylinConfig.getInstanceFromEnv().setProperty(key, "1000");//very low threshold 
 
         boolean meetExpectedException = false;
         try {
@@ -96,7 +96,7 @@ public class ITFailfastQueryTest extends KylinTestBase {
     public void testPartitionNotExceedMaxScanBytes() throws Exception {
         String key = "kylin.storage.partition.max-scan-bytes";
         long saved = KylinConfig.getInstanceFromEnv().getPartitionMaxScanBytes();
-        KylinConfig.getInstanceFromEnv().setProperty(key, "20000");//enough threshold 
+        KylinConfig.getInstanceFromEnv().setProperty(key, "100000");//enough threshold 
 
         try {
             String queryFileName = getQueryFolderPrefix() + "src/test/resources/query/sql/query01.sql";
@@ -111,7 +111,7 @@ public class ITFailfastQueryTest extends KylinTestBase {
     public void testQueryExceedMaxScanBytes() throws Exception {
         String key = "kylin.query.max-scan-bytes";
         long saved = KylinConfig.getInstanceFromEnv().getQueryMaxScanBytes();
-        KylinConfig.getInstanceFromEnv().setProperty(key, "30000");//very low threshold 
+        KylinConfig.getInstanceFromEnv().setProperty(key, "1000");//very low threshold 
 
         boolean meetExpectedException = false;
         try {
@@ -140,7 +140,7 @@ public class ITFailfastQueryTest extends KylinTestBase {
     public void testQueryNotExceedMaxScanBytes() throws Exception {
         String key = "kylin.query.max-scan-bytes";
         long saved = KylinConfig.getInstanceFromEnv().getQueryMaxScanBytes();
-        KylinConfig.getInstanceFromEnv().setProperty(key, "40000");//enough threshold 
+        KylinConfig.getInstanceFromEnv().setProperty(key, "100000");//enough threshold 
 
         try {
             String queryFileName = getQueryFolderPrefix() + "src/test/resources/query/sql/query01.sql";