Restore random connection count to tests

This commit is contained in:
James 2017-07-21 08:12:22 -04:00
parent a13c78d6cc
commit fa050c4665
1 changed files with 1 additions and 2 deletions

View File

@ -43,8 +43,7 @@ public class TestDstu3Config extends BaseJavaConfigDstu3 {
* and catch any potential deadlocks caused by database connection
* starvation
*/
int maxThreads = (int)(Math.random() * 6) + 2;
maxThreads = 2;
int maxThreads = (int)(Math.random() * 6) + 1;
retVal.setMaxTotal(maxThreads);
DataSource dataSource = ProxyDataSourceBuilder