Skip to content

Commit

Permalink
KYLIN-4371 Fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
hit-lacus committed Jun 18, 2020
1 parent 77cbfc4 commit 8d0fc5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ public void testWriteSinkToolsJson() throws Exception {
MetricsSinkDesc metricsSinkDesc = new MetricsSinkDesc();
metricsSinkDesc.setCubeDescOverrideProperties(cubeDescOverrideProperties);
List<MetricsSinkDesc> metricsSinkDescList = Lists.newArrayList();
metricsSinkDescList.add(metricsSinkDesc);

String outputPath = "src/test/resources/SCSinkTools.json";
JsonUtil.writeValue(new FileOutputStream(outputPath), metricsSinkDescList);
Expand Down
2 changes: 1 addition & 1 deletion tool/src/test/resources/SCSinkTools.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[["org.apache.kylin.tool.metrics.systemcube.util.HiveSinkTool",{"storage_type":2,"cube_desc_override_properties":["java.util.HashMap",{"kylin.cube.algorithm":"INMEM"}]}]]
[{"sink":null,"storage_type":2,"cube_desc_override_properties":{"kylin.cube.algorithm":"INMEM"},"table_properties":{}}]

0 comments on commit 8d0fc5d

Please sign in to comment.