This commit is contained in:
zyyang 2021-02-25 16:52:31 +08:00
parent cd1bdc74f8
commit a6b0b8d6d0
1 changed files with 1 additions and 2 deletions

View File

@ -16,8 +16,7 @@ public class ConnectWrongDatabaseTest {
} catch (ClassNotFoundException e) {
e.printStackTrace();
} catch (SQLException e) {
System.out.println(e.getMessage());
Assert.assertEquals("TDengine Error: Invalid database name", e.getMessage());
Assert.assertEquals(-2147482749, e.getErrorCode());
}
}