summaryrefslogtreecommitdiff
path: root/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/client/connection/ConnectionCloseTest.java
diff options
context:
space:
mode:
authorAndrew Donald Kennedy <grkvlt@apache.org>2010-12-06 16:05:46 +0000
committerAndrew Donald Kennedy <grkvlt@apache.org>2010-12-06 16:05:46 +0000
commit80ba5c5efdc23e3922b8f8f5152ceeaefa6951b6 (patch)
tree2eb2141eb77d43701e718b5b5ab1cbd07401015f /qpid/java/systests/src/main/java/org/apache/qpid/test/unit/client/connection/ConnectionCloseTest.java
parent1d44d6e7a3369fb7773ba50d02c3baa8955da382 (diff)
downloadqpid-python-grkvlt-network-20101013.tar.gz
Attempt one at merge from r1021441:HEADgrkvlt-network-20101013
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/grkvlt-network-20101013@1042697 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/systests/src/main/java/org/apache/qpid/test/unit/client/connection/ConnectionCloseTest.java')
-rw-r--r--qpid/java/systests/src/main/java/org/apache/qpid/test/unit/client/connection/ConnectionCloseTest.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/client/connection/ConnectionCloseTest.java b/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/client/connection/ConnectionCloseTest.java
index 17ac0dfff2..50162449e5 100644
--- a/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/client/connection/ConnectionCloseTest.java
+++ b/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/client/connection/ConnectionCloseTest.java
@@ -46,7 +46,7 @@ public class ConnectionCloseTest extends QpidBrokerTestCase
public void testSendReceiveClose() throws Exception
{
Map<Thread,StackTraceElement[]> before = Thread.getAllStackTraces();
-
+
for (int i = 0; i < 500; i++)
{
if ((i % 10) == 0)
@@ -92,7 +92,7 @@ public class ConnectionCloseTest extends QpidBrokerTestCase
assertTrue("Spurious thread creation exceeded threshold, " +
delta.size() + " threads created.",
- delta.size() < 100);
+ delta.size() < 10);
}
private void dumpStacks(Map<Thread,StackTraceElement[]> map)
@@ -104,5 +104,4 @@ public class ConnectionCloseTest extends QpidBrokerTestCase
log.warn(t, entry.getKey().toString());
}
}
-
}