You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by sh...@apache.org on 2019/04/01 00:17:39 UTC
[kylin] branch 3.0.0-alpha-release updated: KYLIN-3923 Fix UT
GeneralColumnDataTest
This is an automated email from the ASF dual-hosted git repository.
shaofengshi pushed a commit to branch 3.0.0-alpha-release
in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/3.0.0-alpha-release by this push:
new 7099fcf KYLIN-3923 Fix UT GeneralColumnDataTest
7099fcf is described below
commit 7099fcf10086013444877946137d318341a68622
Author: chao long <wa...@qq.com>
AuthorDate: Sun Mar 31 22:32:20 2019 +0800
KYLIN-3923 Fix UT GeneralColumnDataTest
---
.../stream/core/storage/columnar/GeneralColumnDataTest.java | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/stream-core/src/test/java/org/apache/kylin/stream/core/storage/columnar/GeneralColumnDataTest.java b/stream-core/src/test/java/org/apache/kylin/stream/core/storage/columnar/GeneralColumnDataTest.java
index e682eee..67a50d6 100644
--- a/stream-core/src/test/java/org/apache/kylin/stream/core/storage/columnar/GeneralColumnDataTest.java
+++ b/stream-core/src/test/java/org/apache/kylin/stream/core/storage/columnar/GeneralColumnDataTest.java
@@ -29,14 +29,22 @@ import java.nio.channels.FileChannel.MapMode;
import java.util.Arrays;
import java.util.Random;
+import org.apache.kylin.common.util.LocalFileMetadataTestCase;
import org.apache.kylin.metadata.datatype.DataType;
import org.apache.kylin.metadata.datatype.DataTypeSerializer;
+import org.junit.Before;
import org.junit.Test;
import com.google.common.io.CountingOutputStream;
import com.google.common.io.Files;
-public class GeneralColumnDataTest {
+public class GeneralColumnDataTest extends LocalFileMetadataTestCase {
+
+ @Before
+ public void setUp() throws Exception {
+ this.createTestMetadata();
+ }
+
@Test
public void testWriteRead() throws Exception {
File tmpColFile = File.createTempFile("testCol", ".general");