[jboss-cvs] JBossAS SVN: r60126 - trunk/testsuite/src/main/org/jboss/test/jbossmessaging/perf.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Jan 30 21:01:00 EST 2007
Author: clebert.suconic at jboss.com
Date: 2007-01-30 21:01:00 -0500 (Tue, 30 Jan 2007)
New Revision: 60126
Modified:
trunk/testsuite/src/main/org/jboss/test/jbossmessaging/perf/ReceiveNackClientStressTestCase.java
Log:
Fixing testcase (NPE)
Modified: trunk/testsuite/src/main/org/jboss/test/jbossmessaging/perf/ReceiveNackClientStressTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/jbossmessaging/perf/ReceiveNackClientStressTestCase.java 2007-01-30 21:55:14 UTC (rev 60125)
+++ trunk/testsuite/src/main/org/jboss/test/jbossmessaging/perf/ReceiveNackClientStressTestCase.java 2007-01-31 02:01:00 UTC (rev 60126)
@@ -97,13 +97,13 @@
{
int target = getIterationCount();
createQueue("Impatient");
- drainQueue("Impatient") ;
try
{
InitialContext context = getInitialContext();
QueueConnectionFactory queueFactory = (QueueConnectionFactory) context.lookup("ConnectionFactory");
Queue queue = (Queue) context.lookup("Impatient");
queueConnection = queueFactory.createQueueConnection();
+ drainQueue("Impatient") ;
try
{
QueueSession session = queueConnection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
More information about the jboss-cvs-commits
mailing list