public void test_1��ds����i() {
JdbcTemplate jt = new JdbcTemplate(createGroupDataSource("ds0:rwi0, ds1:ri0i1, ds2:ri1, ds3:r, ds4:ri3"));
MockDataSource.clearTrace();
GroupDataSourceRouteHelper.executeByGroupDataSourceIndex(0);
jt.query("select 1 from dual", new Object[] {}, new ColumnMapRowMapper());
MockDataSource.showTrace();
Assert.assertTrue(MockDataSource.hasTrace("", "ds0", "select") || MockDataSource.hasTrace("", "ds1", "select"));
MockDataSource.clearTrace();
GroupDataSourceRouteHelper.executeByGroupDataSourceIndex(1);
jt.query("select 1 from dual", new Object[] {}, new ColumnMapRowMapper());
MockDataSource.showTrace();
Assert.assertTrue(MockDataSource.hasTrace("", "ds1", "select") || MockDataSource.hasTrace("", "ds2", "select"));
MockDataSource.clearTrace();
GroupDataSourceRouteHelper.executeByGroupDataSourceIndex(3);
jt.query("select 1 from dual", new Object[] {}, new ColumnMapRowMapper());
MockDataSource.showTrace();
Assert.assertTrue(MockDataSource.hasTrace("", "ds3", "select") || MockDataSource.hasTrace("", "ds4", "select"));
}