Skip to content

Commit

Permalink
[ZEPPELIN-5990] Disable sensitive configuration for JDBC url
Browse files Browse the repository at this point in the history
  • Loading branch information
jongyoul committed Feb 17, 2024
1 parent 7b2a6f7 commit 2779840
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
import static org.apache.zeppelin.jdbc.JDBCInterpreter.DEFAULT_USER;
import static org.apache.zeppelin.jdbc.JDBCInterpreter.PRECODE_KEY_TEMPLATE;

import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.fail;
Expand Down Expand Up @@ -759,7 +758,8 @@ void testValidateConnectionUrl() throws IOException, InterpreterException {
jdbcInterpreter.open();
InterpreterResult interpreterResult = jdbcInterpreter.interpret("SELECT 1", context);
assertEquals(InterpreterResult.Code.ERROR, interpreterResult.code());
assertEquals("Connection URL contains improper configuration", interpreterResult.message().get(0).getData());
assertEquals("Connection URL contains improper configuration",
interpreterResult.message().get(0).getData());
}

private InterpreterContext getInterpreterContext() {
Expand Down

0 comments on commit 2779840

Please sign in to comment.