qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arnaudsi...@apache.org
Subject svn commit: r584174 - /incubator/qpid/trunk/qpid/java/client/src/test/java/org/apache/qpid/test/unit/client/forwardall/CombinedTest.java
Date Fri, 12 Oct 2007 15:00:45 GMT
Author: arnaudsimon
Date: Fri Oct 12 08:00:45 2007
New Revision: 584174

URL: http://svn.apache.org/viewvc?rev=584174&view=rev
Log:
Changed the suite() method so that not to always use an in-VM broker

Modified:
    incubator/qpid/trunk/qpid/java/client/src/test/java/org/apache/qpid/test/unit/client/forwardall/CombinedTest.java

Modified: incubator/qpid/trunk/qpid/java/client/src/test/java/org/apache/qpid/test/unit/client/forwardall/CombinedTest.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/src/test/java/org/apache/qpid/test/unit/client/forwardall/CombinedTest.java?rev=584174&r1=584173&r2=584174&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/client/src/test/java/org/apache/qpid/test/unit/client/forwardall/CombinedTest.java
(original)
+++ incubator/qpid/trunk/qpid/java/client/src/test/java/org/apache/qpid/test/unit/client/forwardall/CombinedTest.java
Fri Oct 12 08:00:45 2007
@@ -49,9 +49,9 @@
 
     public void testForwardAll() throws Exception
     {
-        while (run < 10)
+        while (run < 1)
         {
-            int services = 2;
+            int services =1;
             ServiceCreator.start("vm://:1", services);
 
             _logger.info("Starting " + ++run + " client...");
@@ -65,6 +65,6 @@
 
     public static junit.framework.Test suite()
     {
-        return new VMBrokerSetup(new junit.framework.TestSuite(CombinedTest.class));
+        return new junit.framework.TestSuite(CombinedTest.class);
     }
 }



Mime
View raw message