Author: rhauch
Date: 2008-05-30 14:36:24 -0400 (Fri, 30 May 2008)
New Revision: 215
Modified:
branches/federation/dna-spi/src/test/java/org/jboss/dna/spi/graph/connection/RepositoryConnectionPoolTest.java
Log:
Attempt #2 to fix a test that runs locally but fails on Hudson. These load tests run
several clients simultaneously, and it looks like the jobs don't finish in the
allotted time on the Hudson boxes, while they do locally. This change ramps up the
allotted time and reduces the number of concurrent clients (to something that is still
representative and that still accomplishes the goal of the test). Hopefully these will
work.
Modified:
branches/federation/dna-spi/src/test/java/org/jboss/dna/spi/graph/connection/RepositoryConnectionPoolTest.java
===================================================================
---
branches/federation/dna-spi/src/test/java/org/jboss/dna/spi/graph/connection/RepositoryConnectionPoolTest.java 2008-05-30
18:35:27 UTC (rev 214)
+++
branches/federation/dna-spi/src/test/java/org/jboss/dna/spi/graph/connection/RepositoryConnectionPoolTest.java 2008-05-30
18:36:24 UTC (rev 215)
@@ -189,7 +189,7 @@
for (Integer integer : results) {
if (integer != null) total += integer;
}
- assertThat(total, is(100 * numClients));
+ assertThat(total, is(20 * numClients));
}
}
Show replies by date