mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for initExceptionThrow
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user