kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mahong...@apache.org
Subject incubator-kylin git commit: bug fix: BuildCubeWithStreamTest remove @After
Date Wed, 12 Aug 2015 09:23:47 GMT
Repository: incubator-kylin
Updated Branches:
  refs/heads/0.8 9a2e91e63 -> 736897b83


bug fix: BuildCubeWithStreamTest remove @After


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

Branch: refs/heads/0.8
Commit: 736897b83fba714c4471268910ef7e638200e9d8
Parents: 9a2e91e
Author: honma <honma@ebay.com>
Authored: Wed Aug 12 17:24:42 2015 +0800
Committer: honma <honma@ebay.com>
Committed: Wed Aug 12 17:24:42 2015 +0800

----------------------------------------------------------------------
 .../apache/kylin/job/BuildCubeWithStreamTest.java    | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/736897b8/job/src/test/java/org/apache/kylin/job/BuildCubeWithStreamTest.java
----------------------------------------------------------------------
diff --git a/job/src/test/java/org/apache/kylin/job/BuildCubeWithStreamTest.java b/job/src/test/java/org/apache/kylin/job/BuildCubeWithStreamTest.java
index 8c45668..8531715 100644
--- a/job/src/test/java/org/apache/kylin/job/BuildCubeWithStreamTest.java
+++ b/job/src/test/java/org/apache/kylin/job/BuildCubeWithStreamTest.java
@@ -34,6 +34,10 @@
 
 package org.apache.kylin.job;
 
+import java.io.File;
+import java.io.IOException;
+import java.util.UUID;
+
 import org.apache.hadoop.util.ToolRunner;
 import org.apache.kylin.common.KylinConfig;
 import org.apache.kylin.common.util.AbstractKylinTestCase;
@@ -45,7 +49,6 @@ import org.apache.kylin.job.streaming.StreamingBootstrap;
 import org.apache.kylin.storage.hbase.HBaseMetadataTestCase;
 import org.apache.kylin.streaming.StreamingConfig;
 import org.apache.kylin.streaming.StreamingManager;
-import org.junit.After;
 import org.junit.AfterClass;
 import org.junit.Before;
 import org.junit.BeforeClass;
@@ -53,10 +56,6 @@ import org.junit.Test;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-import java.io.File;
-import java.io.IOException;
-import java.util.UUID;
-
 /**
  *  for streaming cubing case "test_streaming_table"
  */
@@ -94,14 +93,10 @@ public class BuildCubeWithStreamTest {
         DeployUtil.prepareTestDataForStreamingCube(startTime, endTime, streamingConfig);
     }
 
-    @After
-    public void after() {
-        HBaseMetadataTestCase.staticCleanupTestMetadata();
-    }
-
     @AfterClass
     public static void afterClass() throws Exception {
         backup();
+        HBaseMetadataTestCase.staticCleanupTestMetadata();
     }
 
     private static int cleanupOldStorage() throws Exception {


Mime
View raw message