add testcase & bug fixed

This commit is contained in:
wenshao
2012-08-25 12:30:45 +08:00
parent 8e0dafb7a1
commit 2fc2a81a62
@@ -77,6 +77,7 @@ public class DruidDataSourceTest_notEmptyWait extends TestCase {
endLatch.await(100, TimeUnit.MILLISECONDS);
Thread.sleep(10);
Assert.assertEquals(0, dataSource.getNotEmptyWaitThreadCount());
Assert.assertEquals(10, dataSource.getNotEmptyWaitThreadPeak());
}