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

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Apr 2 10:54:18 EDT 2009


Author: clebert.suconic at jboss.com
Date: 2009-04-02 10:54:17 -0400 (Thu, 02 Apr 2009)
New Revision: 6279

Modified:
   trunk/.classpath
   trunk/tests/src/org/jboss/messaging/tests/integration/cluster/failover/PageOrderingOnBackupTest.java
   trunk/tests/src/org/jboss/messaging/tests/integration/cluster/failover/PreserveOrderDuringFailoverTest.java
Log:
just tweaks

Modified: trunk/.classpath
===================================================================
--- trunk/.classpath	2009-04-02 13:57:57 UTC (rev 6278)
+++ trunk/.classpath	2009-04-02 14:54:17 UTC (rev 6279)
@@ -17,6 +17,7 @@
 	<classpathentry kind="src" path="examples/jms/common/src"/>
 	<classpathentry kind="src" path="examples/jms/durable/src"/>
 	<classpathentry kind="src" path="examples/jms/expiry/src"/>
+	<classpathentry kind="src" path="examples/jms/paging/src"/>
 	<classpathentry kind="src" path="examples/jms/queue/src"/>
 	<classpathentry kind="src" path="examples/jms/queue-requestor/src"/>
 	<classpathentry kind="src" path="examples/jms/request-reply/src"/>

Modified: trunk/tests/src/org/jboss/messaging/tests/integration/cluster/failover/PageOrderingOnBackupTest.java
===================================================================
--- trunk/tests/src/org/jboss/messaging/tests/integration/cluster/failover/PageOrderingOnBackupTest.java	2009-04-02 13:57:57 UTC (rev 6278)
+++ trunk/tests/src/org/jboss/messaging/tests/integration/cluster/failover/PageOrderingOnBackupTest.java	2009-04-02 14:54:17 UTC (rev 6279)
@@ -43,7 +43,7 @@
 
 /**
  * 
- * It validates if the messages are in the same ordering on the page system betwen the backup and live nodes.
+ * It validates if the messages are in the same ordering on the page system between the backup and live nodes.
  * 
  * This test is valid as long as we want to guarantee strict ordering on both nodes for paged messages between backup and live nodes.
  * 

Modified: trunk/tests/src/org/jboss/messaging/tests/integration/cluster/failover/PreserveOrderDuringFailoverTest.java
===================================================================
--- trunk/tests/src/org/jboss/messaging/tests/integration/cluster/failover/PreserveOrderDuringFailoverTest.java	2009-04-02 13:57:57 UTC (rev 6278)
+++ trunk/tests/src/org/jboss/messaging/tests/integration/cluster/failover/PreserveOrderDuringFailoverTest.java	2009-04-02 14:54:17 UTC (rev 6279)
@@ -42,6 +42,7 @@
  * A AutomaticFailoverWithDiscoveryTest
  *
  * @author <a href="mailto:tim.fox at jboss.com">Tim Fox</a>
+ * @author <a href="mailto:clebert.suconic at jboss.com">Clebert Suconic</a>
  * 
  * Created 8 Dec 2008 14:52:21
  *
@@ -75,17 +76,6 @@
 
    protected void failoverOrderTest() throws Exception
    {
-
-      // This test would fail if both servers have the same time component
-//      NullStorageManager storageManagerLive = (NullStorageManager)liveServer.getStorageManager();
-//      TimeAndCounterIDGenerator idgeneratorlive = (TimeAndCounterIDGenerator)storageManagerLive.getIDGenerator();
-//
-//      NullStorageManager storageManagerBackup = (NullStorageManager)backupServer.getStorageManager();
-//      TimeAndCounterIDGenerator idgeneratorBackup = (TimeAndCounterIDGenerator)storageManagerBackup.getIDGenerator();
-//
-//      idgeneratorBackup.setInternalDate(0);
-//      idgeneratorlive.setInternalDate(0);
-
       ClientSessionFactory sf = createFailoverFactory();
 
       ClientSession session = sf.createSession(false, true, true);




More information about the jboss-cvs-commits mailing list