You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ma...@apache.org on 2016/04/18 12:56:41 UTC

kylin git commit: KYLIN-1595 refine test case

Repository: kylin
Updated Branches:
  refs/heads/master 78ff89470 -> 96167fc3e


KYLIN-1595 refine test case


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

Branch: refs/heads/master
Commit: 96167fc3ed249500aa1c6bad9f464a8464dd07a1
Parents: 78ff894
Author: Hongbin Ma <ma...@apache.org>
Authored: Mon Apr 18 18:56:26 2016 +0800
Committer: Hongbin Ma <ma...@apache.org>
Committed: Mon Apr 18 18:56:26 2016 +0800

----------------------------------------------------------------------
 .../org/apache/kylin/gridtable/AggregationCacheSpillTest.java    | 4 ++--
 .../apache/kylin/job/impl/threadpool/DefaultSchedulerTest.java   | 2 ++
 .../localmeta/cube_desc/test_kylin_cube_with_slr_desc.json       | 2 +-
 .../cube_desc/test_kylin_cube_with_slr_left_join_desc.json       | 2 +-
 4 files changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/96167fc3/core-cube/src/test/java/org/apache/kylin/gridtable/AggregationCacheSpillTest.java
----------------------------------------------------------------------
diff --git a/core-cube/src/test/java/org/apache/kylin/gridtable/AggregationCacheSpillTest.java b/core-cube/src/test/java/org/apache/kylin/gridtable/AggregationCacheSpillTest.java
index 0e399dd..73e4908 100644
--- a/core-cube/src/test/java/org/apache/kylin/gridtable/AggregationCacheSpillTest.java
+++ b/core-cube/src/test/java/org/apache/kylin/gridtable/AggregationCacheSpillTest.java
@@ -88,7 +88,7 @@ public class AggregationCacheSpillTest {
             assertEquals(21, ((BigDecimal) returnRecord[4]).longValue());
             count++;
 
-            System.out.println(record);
+            //System.out.println(record);
         }
         assertEquals(DATA_CARDINALITY, count);
         scanner.close();
@@ -130,7 +130,7 @@ public class AggregationCacheSpillTest {
             assertEquals(84000, ((BigDecimal) returnRecord[4]).longValue());
             count++;
 
-            System.out.println(record);
+            //System.out.println(record);
         }
         assertEquals(10, count);
         scanner.close();

http://git-wip-us.apache.org/repos/asf/kylin/blob/96167fc3/core-job/src/test/java/org/apache/kylin/job/impl/threadpool/DefaultSchedulerTest.java
----------------------------------------------------------------------
diff --git a/core-job/src/test/java/org/apache/kylin/job/impl/threadpool/DefaultSchedulerTest.java b/core-job/src/test/java/org/apache/kylin/job/impl/threadpool/DefaultSchedulerTest.java
index df521f9..6acbbe5 100644
--- a/core-job/src/test/java/org/apache/kylin/job/impl/threadpool/DefaultSchedulerTest.java
+++ b/core-job/src/test/java/org/apache/kylin/job/impl/threadpool/DefaultSchedulerTest.java
@@ -37,10 +37,12 @@ import org.apache.kylin.job.SucceedTestExecutable;
 import org.apache.kylin.job.execution.DefaultChainedExecutable;
 import org.apache.kylin.job.execution.ExecutableState;
 import org.junit.Assert;
+import org.junit.Ignore;
 import org.junit.Test;
 
 /**
  */
+@Ignore
 public class DefaultSchedulerTest extends BaseSchedulerTest {
 
     @Test

http://git-wip-us.apache.org/repos/asf/kylin/blob/96167fc3/examples/test_case_data/localmeta/cube_desc/test_kylin_cube_with_slr_desc.json
----------------------------------------------------------------------
diff --git a/examples/test_case_data/localmeta/cube_desc/test_kylin_cube_with_slr_desc.json b/examples/test_case_data/localmeta/cube_desc/test_kylin_cube_with_slr_desc.json
index 7db40ec..4064fcb 100644
--- a/examples/test_case_data/localmeta/cube_desc/test_kylin_cube_with_slr_desc.json
+++ b/examples/test_case_data/localmeta/cube_desc/test_kylin_cube_with_slr_desc.json
@@ -158,7 +158,7 @@
     "includes" : [ "cal_dt", "categ_lvl2_name", "categ_lvl3_name", "leaf_categ_id", "lstg_format_name", "lstg_site_id", "meta_categ_name", "seller_id", "slr_segment_cd" ],
     "select_rule" : {
       "hierarchy_dims" : [ [ "META_CATEG_NAME", "CATEG_LVL2_NAME", "CATEG_LVL3_NAME" ] ],
-      "mandatory_dims" : [],
+      "mandatory_dims" : ["seller_id"],
       "joint_dims" : [ [ "lstg_format_name", "lstg_site_id", "slr_segment_cd" ] ]
     }
   } ],

http://git-wip-us.apache.org/repos/asf/kylin/blob/96167fc3/examples/test_case_data/localmeta/cube_desc/test_kylin_cube_with_slr_left_join_desc.json
----------------------------------------------------------------------
diff --git a/examples/test_case_data/localmeta/cube_desc/test_kylin_cube_with_slr_left_join_desc.json b/examples/test_case_data/localmeta/cube_desc/test_kylin_cube_with_slr_left_join_desc.json
index 33a7080..f0fe9c0 100644
--- a/examples/test_case_data/localmeta/cube_desc/test_kylin_cube_with_slr_left_join_desc.json
+++ b/examples/test_case_data/localmeta/cube_desc/test_kylin_cube_with_slr_left_join_desc.json
@@ -157,7 +157,7 @@
     "includes" : [ "cal_dt", "categ_lvl2_name", "categ_lvl3_name", "leaf_categ_id", "lstg_format_name", "lstg_site_id", "meta_categ_name", "seller_id", "slr_segment_cd" ],
     "select_rule" : {
       "hierarchy_dims" : [ [ "META_CATEG_NAME", "CATEG_LVL2_NAME", "CATEG_LVL3_NAME" ] ],
-      "mandatory_dims" : [ "seller_id" ],
+      "mandatory_dims" : [ ],
       "joint_dims" : [ [ "lstg_format_name", "lstg_site_id", "slr_segment_cd" ] ]
     }
   } ],