mirror of https://github.com/apache/nifi.git
NIFI-5790 removed the last test as it's causing a race condition intermittently (#3260)
Signed-off-by: Peter Wicks <patricker@gmail.com>
This commit is contained in:
parent
706cf7dcff
commit
cf7ab0ce18
|
@ -237,9 +237,6 @@ public class DBCPServiceTest {
|
||||||
Assert.assertEquals(4, service.getDataSource().getNumIdle());
|
Assert.assertEquals(4, service.getDataSource().getNumIdle());
|
||||||
Assert.assertEquals(0, service.getDataSource().getNumActive());
|
Assert.assertEquals(0, service.getDataSource().getNumActive());
|
||||||
|
|
||||||
Thread.sleep(500);
|
|
||||||
Assert.assertEquals(1, service.getDataSource().getNumIdle());
|
|
||||||
|
|
||||||
service.getDataSource().close();
|
service.getDataSource().close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue