[jboss-cvs] JBoss Messaging SVN: r5698 - in trunk/tests/src/org/jboss/messaging/tests: stress/failover and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Jan 22 21:34:51 EST 2009


Author: clebert.suconic at jboss.com
Date: 2009-01-22 21:34:51 -0500 (Thu, 22 Jan 2009)
New Revision: 5698

Added:
   trunk/tests/src/org/jboss/messaging/tests/stress/failover/RandomFailoverStressTest.java
Modified:
   trunk/tests/src/org/jboss/messaging/tests/integration/cluster/failover/RandomFailoverTest.java
Log:
Separating RandomFailoverStressTest from RandomFailoverTest also

Modified: trunk/tests/src/org/jboss/messaging/tests/integration/cluster/failover/RandomFailoverTest.java
===================================================================
--- trunk/tests/src/org/jboss/messaging/tests/integration/cluster/failover/RandomFailoverTest.java	2009-01-23 02:31:03 UTC (rev 5697)
+++ trunk/tests/src/org/jboss/messaging/tests/integration/cluster/failover/RandomFailoverTest.java	2009-01-23 02:34:51 UTC (rev 5698)
@@ -1434,7 +1434,7 @@
 
    protected int getNumIterations()
    {
-      return 20;
+      return 1;
    }
 
    protected void setUp() throws Exception

Added: trunk/tests/src/org/jboss/messaging/tests/stress/failover/RandomFailoverStressTest.java
===================================================================
--- trunk/tests/src/org/jboss/messaging/tests/stress/failover/RandomFailoverStressTest.java	                        (rev 0)
+++ trunk/tests/src/org/jboss/messaging/tests/stress/failover/RandomFailoverStressTest.java	2009-01-23 02:34:51 UTC (rev 5698)
@@ -0,0 +1,63 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005-2009, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+
+package org.jboss.messaging.tests.stress.failover;
+
+import org.jboss.messaging.tests.integration.cluster.failover.RandomFailoverTest;
+
+/**
+ * A RandomFailoverStressTest
+ *
+ * @author <a href="mailto:clebert.suconic at jboss.org">Clebert Suconic</a>
+ * 
+ * Created Jan 22, 2009 8:32:59 PM
+ *
+ *
+ */
+public class RandomFailoverStressTest extends RandomFailoverTest
+{
+
+   // Constants -----------------------------------------------------
+
+   // Attributes ----------------------------------------------------
+
+   // Static --------------------------------------------------------
+
+   // Constructors --------------------------------------------------
+
+   // Public --------------------------------------------------------
+
+   // Package protected ---------------------------------------------
+
+   // Protected -----------------------------------------------------
+   
+   protected int getNumIterations()
+   {
+      return 20;
+   }
+
+   // Private -------------------------------------------------------
+
+   // Inner classes -------------------------------------------------
+
+}




More information about the jboss-cvs-commits mailing list