mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -188,6 +188,16 @@ public class ConnectionPoolOverloadTest
|
||||
interrupt();
|
||||
fail("Thread should fail with ConnectionPoolException.");
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
sleep(dbPoolWaitMax*2);
|
||||
}
|
||||
catch (InterruptedException e)
|
||||
{
|
||||
interrupt();
|
||||
}
|
||||
interrupt();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user