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 * and catch any potential deadlocks caused by database connection
* starvation * starvation
*/ */
int maxThreads = (int)(Math.random() * 6) + 2; int maxThreads = (int)(Math.random() * 6) + 1;
maxThreads = 2;
retVal.setMaxTotal(maxThreads); retVal.setMaxTotal(maxThreads);
DataSource dataSource = ProxyDataSourceBuilder DataSource dataSource = ProxyDataSourceBuilder