change
This commit is contained in:
parent
cd1bdc74f8
commit
a6b0b8d6d0
|
@ -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());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue