提交 a6b0b8d6 编写于 作者: Z zyyang

change

上级 cd1bdc74
...@@ -16,8 +16,7 @@ public class ConnectWrongDatabaseTest { ...@@ -16,8 +16,7 @@ public class ConnectWrongDatabaseTest {
} catch (ClassNotFoundException e) { } catch (ClassNotFoundException e) {
e.printStackTrace(); e.printStackTrace();
} catch (SQLException e) { } catch (SQLException e) {
System.out.println(e.getMessage()); Assert.assertEquals(-2147482749, e.getErrorCode());
Assert.assertEquals("TDengine Error: Invalid database name", e.getMessage());
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册