change
This commit is contained in:
parent
60d04f8121
commit
dd2732ea68
|
@ -136,10 +136,8 @@ public class TSDBDriverTest {
|
|||
assertNotNull("failure - connection should not be null", conn);
|
||||
}
|
||||
} catch (SQLException e) {
|
||||
e.printStackTrace();
|
||||
if (!isTaosdActived) {
|
||||
System.out.println(e.getMessage());
|
||||
assertEquals("failure - should throw SQLException", "TDengine Error: Unable to establish connection", e.getMessage());
|
||||
assertEquals("failure - should throw SQLException", SQLException.class, e.getClass());
|
||||
} else {
|
||||
fail("failure - should not throw Exception");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue