[jboss-cvs] JBoss Messaging SVN: r5213 - in branches/Branch_Chunk_CRS2/tests/src/org/jboss/messaging/tests: soak and 2 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Oct 29 18:13:35 EDT 2008


Author: clebert.suconic at jboss.com
Date: 2008-10-29 18:13:35 -0400 (Wed, 29 Oct 2008)
New Revision: 5213

Added:
   branches/Branch_Chunk_CRS2/tests/src/org/jboss/messaging/tests/soak/chunk/
   branches/Branch_Chunk_CRS2/tests/src/org/jboss/messaging/tests/soak/chunk/MessageChunkSoakTest.java
Modified:
   branches/Branch_Chunk_CRS2/tests/src/org/jboss/messaging/tests/integration/scheduling/ScheduledMessageTest.java
   branches/Branch_Chunk_CRS2/tests/src/org/jboss/messaging/tests/stress/chunk/MessageChunkStressTest.java
Log:
tweaks on tests

Modified: branches/Branch_Chunk_CRS2/tests/src/org/jboss/messaging/tests/integration/scheduling/ScheduledMessageTest.java
===================================================================
--- branches/Branch_Chunk_CRS2/tests/src/org/jboss/messaging/tests/integration/scheduling/ScheduledMessageTest.java	2008-10-29 21:11:57 UTC (rev 5212)
+++ branches/Branch_Chunk_CRS2/tests/src/org/jboss/messaging/tests/integration/scheduling/ScheduledMessageTest.java	2008-10-29 22:13:35 UTC (rev 5213)
@@ -53,8 +53,6 @@
 
    private SimpleString atestq2 = new SimpleString("ascheduledtestq2");
 
-   private MessagingService messagingService;
-
    private Configuration configuration;
 
    protected void setUp() throws Exception
@@ -82,7 +80,7 @@
             // ignore
          }
       }
-      clearData();
+      deleteData();
    }
 
    public void testRecoveredMessageDeliveredCorrectly() throws Exception

Added: branches/Branch_Chunk_CRS2/tests/src/org/jboss/messaging/tests/soak/chunk/MessageChunkSoakTest.java
===================================================================
--- branches/Branch_Chunk_CRS2/tests/src/org/jboss/messaging/tests/soak/chunk/MessageChunkSoakTest.java	                        (rev 0)
+++ branches/Branch_Chunk_CRS2/tests/src/org/jboss/messaging/tests/soak/chunk/MessageChunkSoakTest.java	2008-10-29 22:13:35 UTC (rev 5213)
@@ -0,0 +1,68 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005-2008, 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.soak.chunk;
+
+import org.jboss.messaging.tests.integration.chunkmessage.ChunkTestBase;
+
+/**
+ * A MessageChunkSoakTest
+ *
+ * @author <a href="mailto:clebert.suconic at jboss.org">Clebert Suconic</a>
+ * 
+ * Created Oct 27, 2008 5:07:05 PM
+ *
+ *
+ */
+public class MessageChunkSoakTest extends ChunkTestBase
+{
+
+   // Constants -----------------------------------------------------
+
+   // Attributes ----------------------------------------------------
+
+   // Static --------------------------------------------------------
+
+   // Constructors --------------------------------------------------
+
+   // Public --------------------------------------------------------
+
+   public void testMessageChunkFilePersistence1G() throws Exception
+   {
+      testChunks(true, true, 2, 268435456, false, 120000, 0);
+   }
+
+   // Package protected ---------------------------------------------
+
+   // Protected -----------------------------------------------------
+
+   @Override
+   protected void tearDown() throws Exception
+   {
+      super.tearDown();
+   }
+
+   // Private -------------------------------------------------------
+
+   // Inner classes -------------------------------------------------
+
+}

Modified: branches/Branch_Chunk_CRS2/tests/src/org/jboss/messaging/tests/stress/chunk/MessageChunkStressTest.java
===================================================================
--- branches/Branch_Chunk_CRS2/tests/src/org/jboss/messaging/tests/stress/chunk/MessageChunkStressTest.java	2008-10-29 21:11:57 UTC (rev 5212)
+++ branches/Branch_Chunk_CRS2/tests/src/org/jboss/messaging/tests/stress/chunk/MessageChunkStressTest.java	2008-10-29 22:13:35 UTC (rev 5213)
@@ -25,7 +25,7 @@
 import org.jboss.messaging.tests.integration.chunkmessage.ChunkTestBase;
 
 /**
- * A MessageChunkStressTest
+ * A MessageChunkSoakTest
  *
  * @author <a href="mailto:clebert.suconic at jboss.org">Clebert Suconic</a>
  * 
@@ -46,11 +46,6 @@
 
    // Public --------------------------------------------------------
 
-   public void testMessageChunkFilePersistence1G() throws Exception
-   {
-      testChunks(true, true, 2, 268435456, false, 120000, 0);
-   }
-
    public void testMessageChunkFilePersistence100M() throws Exception
    {
       testChunks(true, true, 10, 26214400, false, 120000, 0);




More information about the jboss-cvs-commits mailing list