geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiam...@apache.org
Subject svn commit: r1348548 - in /geronimo/server/trunk/testsuite/enterprise-testsuite/jms-tests: jms-ear/pom.xml jms-ear/src/test/resources/testng.xml jms-ejb/src/main/java/org/apache/geronimo/jms/test/bmt/JmsBmtBean.java
Date Sun, 10 Jun 2012 08:09:01 GMT
Author: xiaming
Date: Sun Jun 10 08:09:01 2012
New Revision: 1348548

URL: http://svn.apache.org/viewvc?rev=1348548&view=rev
Log:
GERONIMO-4784 Recieving after rollback requires more time, so set second receive timeout to
2 seconds to make the pass; Also set the test counter smaller to save time, for trunk

Modified:
    geronimo/server/trunk/testsuite/enterprise-testsuite/jms-tests/jms-ear/pom.xml
    geronimo/server/trunk/testsuite/enterprise-testsuite/jms-tests/jms-ear/src/test/resources/testng.xml
    geronimo/server/trunk/testsuite/enterprise-testsuite/jms-tests/jms-ejb/src/main/java/org/apache/geronimo/jms/test/bmt/JmsBmtBean.java

Modified: geronimo/server/trunk/testsuite/enterprise-testsuite/jms-tests/jms-ear/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/enterprise-testsuite/jms-tests/jms-ear/pom.xml?rev=1348548&r1=1348547&r2=1348548&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/enterprise-testsuite/jms-tests/jms-ear/pom.xml (original)
+++ geronimo/server/trunk/testsuite/enterprise-testsuite/jms-tests/jms-ear/pom.xml Sun Jun
10 08:09:01 2012
@@ -141,6 +141,11 @@
                             <suiteXmlFiles>
                                 <suiteXmlFile>${project.build.testOutputDirectory}/testng.xml</suiteXmlFile>
                             </suiteXmlFiles>
+                            <!-- <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
-->
+                            <systemPropertyVariables>
+                                <total-shipment>2</total-shipment>
+                                <requests-per-shipment>5</requests-per-shipment>
           
+                            </systemPropertyVariables>
                         </configuration>
                     </plugin>
 

Modified: geronimo/server/trunk/testsuite/enterprise-testsuite/jms-tests/jms-ear/src/test/resources/testng.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/enterprise-testsuite/jms-tests/jms-ear/src/test/resources/testng.xml?rev=1348548&r1=1348547&r2=1348548&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/enterprise-testsuite/jms-tests/jms-ear/src/test/resources/testng.xml
(original)
+++ geronimo/server/trunk/testsuite/enterprise-testsuite/jms-tests/jms-ear/src/test/resources/testng.xml
Sun Jun 10 08:09:01 2012
@@ -27,9 +27,19 @@
         <packages>
             <package name="org.apache.geronimo.testsuite.enterprise.jms"/>
         </packages>
+<!--         <classes> -->
+<!--             <class name="org.apache.geronimo.testsuite.enterprise.jms.JMSTest"/>
-->
+<!--             <class name="org.apache.geronimo.testsuite.enterprise.jms.MessageSenderTest"/>
-->
+<!--         </classes> -->
         <!-- reverse what is commented out to just run the GERONIMO-4784 failing test
-->
-        <!--<classes>-->
-            <!--<class name="org.apache.geronimo.testsuite.enterprise.jms.RollbackTest"/>-->
-        <!--</classes>-->
+        <!-- <classes>
+            <class name="org.apache.geronimo.testsuite.enterprise.jms.RollbackTest">
+                <methods>
+                    <include name="XXtestRollbackQUeueAndTopic"/>
+                    <include name="testRollbackQueue"/>
+                    <include name="testRollbackTopic"/>
+                </methods>
+            </class>
+        </classes> -->
     </test>
 </suite>

Modified: geronimo/server/trunk/testsuite/enterprise-testsuite/jms-tests/jms-ejb/src/main/java/org/apache/geronimo/jms/test/bmt/JmsBmtBean.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/enterprise-testsuite/jms-tests/jms-ejb/src/main/java/org/apache/geronimo/jms/test/bmt/JmsBmtBean.java?rev=1348548&r1=1348547&r2=1348548&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/enterprise-testsuite/jms-tests/jms-ejb/src/main/java/org/apache/geronimo/jms/test/bmt/JmsBmtBean.java
(original)
+++ geronimo/server/trunk/testsuite/enterprise-testsuite/jms-tests/jms-ejb/src/main/java/org/apache/geronimo/jms/test/bmt/JmsBmtBean.java
Sun Jun 10 08:09:01 2012
@@ -134,7 +134,7 @@ public class JmsBmtBean implements JmsBm
 
                 ut.begin();
                 try {
-                    received = consumer.receive(1000);
+                    received = consumer.receive(2000);
                     if (received == null) throw new JMSException("Not received second time");
                     if (!to.equals(((ObjectMessage)received).getObject())) throw new JMSException("Wrong
object inside: " + ((ObjectMessage)received).getObject());
                 } finally {



Mime
View raw message