[jboss-cvs] JBoss Messaging SVN: r5713 - trunk/tests/src/org/jboss/messaging/tests/integration/paging.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Jan 23 17:41:03 EST 2009


Author: clebert.suconic at jboss.com
Date: 2009-01-23 17:41:03 -0500 (Fri, 23 Jan 2009)
New Revision: 5713

Modified:
   trunk/tests/src/org/jboss/messaging/tests/integration/paging/PageCrashTest.java
Log:
comment fixes and auto-cleanup (no code change)

Modified: trunk/tests/src/org/jboss/messaging/tests/integration/paging/PageCrashTest.java
===================================================================
--- trunk/tests/src/org/jboss/messaging/tests/integration/paging/PageCrashTest.java	2009-01-23 22:23:32 UTC (rev 5712)
+++ trunk/tests/src/org/jboss/messaging/tests/integration/paging/PageCrashTest.java	2009-01-23 22:41:03 UTC (rev 5713)
@@ -88,7 +88,7 @@
 
    public void testCrashDuringDeleteFile() throws Exception
    {
-      
+
       pageAndFail();
 
       File pageDir = new File(getPageDir());
@@ -143,8 +143,7 @@
    }
 
    // Private -------------------------------------------------------
-   
-   
+
    /** This method will leave garbage on paging. 
     *  It will not delete page files as if the server crashed right after commit, 
     *  and before removing the file*/
@@ -164,7 +163,8 @@
       {
          ClientSessionFactory sf = createInVMFactory();
 
-         // Making it synchronous, just because we want to stop sending messages as soon as the page-store becomes in page mode
+         // Making it synchronous, just because we want to stop sending messages as soon as the page-store becomes in
+         // page mode
          // and we could only guarantee that by setting it to synchronous
          sf.setBlockOnNonPersistentSend(true);
          sf.setBlockOnPersistentSend(true);
@@ -276,12 +276,9 @@
 
    /** This is hacking MessagingServerImpl, 
     *  to make sure the server will fail right 
-    *  after before the page-file was removed */
+    *  before the page-file was removed */
    class FailingMessagingServiceImpl extends MessagingServerImpl
    {
-      /**
-       * Method could be replaced for test purposes 
-       */
       @Override
       protected PagingManager createPagingManager()
       {




More information about the jboss-cvs-commits mailing list