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);
|
assertNotNull("failure - connection should not be null", conn);
|
||||||
}
|
}
|
||||||
} catch (SQLException e) {
|
} catch (SQLException e) {
|
||||||
e.printStackTrace();
|
|
||||||
if (!isTaosdActived) {
|
if (!isTaosdActived) {
|
||||||
System.out.println(e.getMessage());
|
assertEquals("failure - should throw SQLException", SQLException.class, e.getClass());
|
||||||
assertEquals("failure - should throw SQLException", "TDengine Error: Unable to establish connection", e.getMessage());
|
|
||||||
} else {
|
} else {
|
||||||
fail("failure - should not throw Exception");
|
fail("failure - should not throw Exception");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue