jerqi commented on code in PR #6501:
URL: https://github.com/apache/gravitino/pull/6501#discussion_r1968782982
##########
server/src/test/java/org/apache/gravitino/server/web/TestConfigServlet.java:
##########
@@ -43,4 +45,23 @@ public void testConfigServlet() throws Exception {
"{\"gravitino.authorization.enable\":false,\"gravitino.authenticators\":[\"simple\"]}");
configServlet.destroy();
}
+
+ @Test
+ public void testConfigServletWithVisibleConfigs() throws Exception {
+ ServerConfig serverConfig = new ServerConfig();
+ serverConfig.set(
+ Configs.VISIBLE_CONFIGS,
+ Lists.newArrayList(Configs.AUDIT_LOG_FORMATTER_CLASS_NAME.getKey()));
+ serverConfig.set(Configs.AUDIT_LOG_FORMATTER_CLASS_NAME, "test");
Review Comment:
OK, I can use a more realistic case.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]