Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)

92471: Merged 5.0.N (5.0.1) to HEAD-BUG-FIX (5.1/Cloud)
      92381: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.1)
         92307: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.5)
            92294: Merged DEREK/MNT-9899-V42 (4.2.3) to V4.1-BUG-FIX (4.1.10)
               71894: MNT-9899 : Change default value for db.pool.max to 275
               Hardened the test to rollback all of the opened transactions.
               Added installer configuration to set the max_connections of the shipped PostgreSQL. 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94880 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2015-01-31 11:51:28 +00:00
parent 45d980c2de
commit 99a54ab938

View File

@@ -188,6 +188,16 @@ public class ConnectionPoolOverloadTest
interrupt();
fail("Thread should fail with ConnectionPoolException.");
}
try
{
sleep(dbPoolWaitMax*2);
}
catch (InterruptedException e)
{
interrupt();
}
interrupt();
}
@Override