diff --git a/jdbc/src/test/java/org/apache/zeppelin/jdbc/JDBCInterpreterTest.java b/jdbc/src/test/java/org/apache/zeppelin/jdbc/JDBCInterpreterTest.java index ca525962b42..4089eb802c0 100644 --- a/jdbc/src/test/java/org/apache/zeppelin/jdbc/JDBCInterpreterTest.java +++ b/jdbc/src/test/java/org/apache/zeppelin/jdbc/JDBCInterpreterTest.java @@ -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; @@ -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() {