mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
fix failed testcase
This commit is contained in:
@@ -86,11 +86,11 @@ public class HighAvailableDataSource extends WrapperAdapter implements DataSourc
|
||||
// Properties copied from DruidAbstractDataSource END
|
||||
|
||||
private Map<String, DataSource> dataSourceMap = new ConcurrentHashMap<String, DataSource>();
|
||||
private DataSourceSelector selector = new RandomDataSourceSelector(this);
|
||||
private DataSourceSelector selector;
|
||||
private String dataSourceFile = DEFAULT_DATA_SOURCE_FILE;
|
||||
private String propertyPrefix = "";
|
||||
|
||||
private boolean inited = false;
|
||||
private volatile boolean inited = false;
|
||||
|
||||
public void init() throws SQLException {
|
||||
if (inited) {
|
||||
|
||||
Reference in New Issue
Block a user