Home
last modified time | relevance | path

Searched refs:numTasks (Results 1 – 1 of 1) sorted by relevance

/libcore/luni/src/test/java/tests/java/sql/
DStressTest.java135 int numTasks = getConnectionNum(); in testManyConnectionsUsingManyThreads() local
137 ThreadPool threadPool = new ThreadPool(numTasks); in testManyConnectionsUsingManyThreads()
140 for (int i = 0; i < numTasks; i++) { in testManyConnectionsUsingManyThreads()
145 assertEquals("Unable to create a connection", numTasks, vc.size()); in testManyConnectionsUsingManyThreads()
146 if (numTasks != Support_SQL.sqlMaxConnections) { in testManyConnectionsUsingManyThreads()
151 fail("It is possible to create more than " + numTasks in testManyConnectionsUsingManyThreads()