mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
add testcase & bug fixed
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user