Restore random connection count to tests
This commit is contained in:
parent
a13c78d6cc
commit
fa050c4665
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue