HADataSource implementation.

This commit is contained in:
wenshao
2011-11-10 16:32:26 +08:00
parent cdc61466c9
commit a0004d1683
3 changed files with 73 additions and 31 deletions
@@ -29,8 +29,8 @@ public class HADataSourceTest extends TestCase {
dataSourceB.setFilters("stat");
dataSourceHA = new HADataSource();
dataSourceHA.addDataSource(dataSourceA);
dataSourceHA.addDataSource(dataSourceB);
dataSourceHA.setMaster(dataSourceA);
dataSourceHA.setSlave(dataSourceB);
}
protected void tearDown() throws Exception {