bug fixed for initExceptionThrow

This commit is contained in:
wenshao
2018-08-22 18:06:03 +08:00
parent a40071a3cb
commit 14c151ba06
3 changed files with 5 additions and 5 deletions
@@ -14,7 +14,7 @@ public class InitExceptionThrowTest extends TestClone {
private int connectCount = 0;
protected void setUp() throws Exception {
dataSource.setInitExceptionThrow(true);
dataSource.setInitExceptionThrow(false);
dataSource.setUrl("jdbc:mock:xxx");
dataSource.setDriver(new MockDriver() {
public Connection connect(String url, Properties info) throws SQLException {