This is an automated email from the ASF dual-hosted git repository. xxyu pushed a commit to branch kylin5 in repository https://gitbox.apache.org/repos/asf/kylin.git
commit 8399ea7c3e5f78bdf6868ad6678633502dfac32e Author: Mukvin <boyboys...@163.com> AuthorDate: Thu Aug 4 15:13:49 2022 +0800 KYLIN-5217, fix ut in SparkSourceServiceTest --- .../java/org/apache/kylin/rest/service/SparkSourceServiceTest.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/datasource-service/src/test/java/org/apache/kylin/rest/service/SparkSourceServiceTest.java b/src/datasource-service/src/test/java/org/apache/kylin/rest/service/SparkSourceServiceTest.java index 608f5c7ff1..657604942c 100644 --- a/src/datasource-service/src/test/java/org/apache/kylin/rest/service/SparkSourceServiceTest.java +++ b/src/datasource-service/src/test/java/org/apache/kylin/rest/service/SparkSourceServiceTest.java @@ -60,7 +60,6 @@ public class SparkSourceServiceTest extends NLocalFileMetadataTestCase { @Before public void setUp() throws Exception { - createTestMetadata(); ss = SparkSession.builder().appName("local").master("local[1]").enableHiveSupport().getOrCreate(); ss.sparkContext().hadoopConfiguration().set("javax.jdo.option.ConnectionURL", "jdbc:derby:memory:db;create=true"); @@ -82,8 +81,8 @@ public class SparkSourceServiceTest extends NLocalFileMetadataTestCase { sparkSourceService.executeSQL(ddlRequest); zkTestServer = new TestingServer(true); overwriteSystemProp("kylin.env.zookeeper-connect-string", zkTestServer.getConnectString()); - overwriteSystemProp("kap.env.zookeeper-max-retries", "1"); - overwriteSystemProp("kap.env.zookeeper-base-sleep-time", "1000"); + overwriteSystemProp("kylin.env.zookeeper-max-retries", "1"); + overwriteSystemProp("kylin.env.zookeeper-base-sleep-time", "1000"); } @After