NIFI-5790 removed the last test as it's causing a race condition intermittently ...
authorSavtechSolutions <alex.v.savitsky@gmail.com>
Thu, 10 Jan 2019 19:13:35 +0000 (14:13 -0500)
committerPeter Wicks <patricker@gmail.com>
Thu, 10 Jan 2019 19:13:35 +0000 (12:13 -0700)
Signed-off-by: Peter Wicks <patricker@gmail.com>
nifi-nar-bundles/nifi-standard-services/nifi-dbcp-service-bundle/nifi-dbcp-service/src/test/java/org/apache/nifi/dbcp/DBCPServiceTest.java

index 4d32b33..2714e2e 100644 (file)
@@ -237,9 +237,6 @@ public class DBCPServiceTest {
         Assert.assertEquals(4, service.getDataSource().getNumIdle());
         Assert.assertEquals(0, service.getDataSource().getNumActive());
 
-        Thread.sleep(500);
-        Assert.assertEquals(1, service.getDataSource().getNumIdle());
-
         service.getDataSource().close();
     }