Skip to content

Commit

Permalink
fix AdminServiceTest
Browse files Browse the repository at this point in the history
  • Loading branch information
liyang-kylin committed Jan 26, 2018
1 parent 73554fa commit 8e27449
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,15 @@ public void testGetPublicConfig() throws IOException {
KylinConfig.setKylinConfigThreadLocal(KylinConfig.createInstanceFromUri(path));

String expected = "kylin.web.link-streaming-guide=http://kylin.apache.org/\n" +
"kylin.web.dashboard-enabled=\n" +
"kylin.web.contact-mail=\n" +
"kylin.query.cache-enabled=true\n" +
"kylin.web.link-diagnostic=\n" +
"kylin.web.help.length=4\n" +
"kylin.web.timezone=GMT+8\n" +
"kylin.server.external-acl-provider=\n" +
"kylin.storage.default=2\n" +
"kylin.cube.cubeplanner.enabled=false\n" +
"kylin.web.help=\n" +
"kylin.web.export-allow-other=true\n" +
"kylin.web.link-hadoop=\n" +
Expand All @@ -63,10 +65,10 @@ public void testGetPublicConfig() throws IOException {
"kylin.env=QA\n" +
"kylin.web.hive-limit=20\n" +
"kylin.engine.default=2\n" +
"kylin.web.help.3=onboard|Cube Design Tutorial|\n" +
"kylin.web.help.2=tableau|Tableau Guide|\n" +
"kylin.web.help.1=odbc|ODBC Driver|\n" +
"kylin.web.help.0=start|Getting Started|\n" +
"kylin.web.help.3=onboard|Cube Design Tutorial|http://kylin.apache.org/docs21/howto/howto_optimize_cubes.html\n" +
"kylin.web.help.2=tableau|Tableau Guide|http://kylin.apache.org/docs21/tutorial/tableau_91.html\n" +
"kylin.web.help.1=odbc|ODBC Driver|http://kylin.apache.org/docs21/tutorial/odbc.html\n" +
"kylin.web.help.0=start|Getting Started|http://kylin.apache.org/docs21/tutorial/kylin_sample.html\n" +
"kylin.security.profile=testing\n";
Assert.assertEquals(expected, adminService.getPublicConfig());
}
Expand Down

0 comments on commit 8e27449

Please sign in to comment.