test fixed 2

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@723 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-09-10 18:12:45 +00:00
parent a646a6dc7f
commit 5419f2af74
6 changed files with 26 additions and 10 deletions
@@ -10,9 +10,13 @@ import junit.framework.TestCase;
import com.alibaba.druid.mock.MockDriver;
import com.alibaba.druid.pool.DruidDataSource;
import com.alibaba.druid.stat.DruidDataSourceStatManager;
public class TestIdle3 extends TestCase {
protected void tearDown() throws Exception {
Assert.assertEquals(0, DruidDataSourceStatManager.getInstance().getDataSourceList().size());
}
public void test_idle2() throws Exception {
MockDriver driver = new MockDriver();