Skip to main content

[xadisk~svn:542] Minor changes in testcase.

  • From: nitin_verma@...
  • To: commits@...
  • Subject: [xadisk~svn:542] Minor changes in testcase.
  • Date: Mon, 26 Aug 2013 04:51:39 +0000

Project:    xadisk
Repository: svn
Revision:   542
Author:     nitin_verma
Date:       2013-08-26 04:51:37 UTC
Link:       

Log Message:
------------
Minor changes in testcase.


Revisions:
----------
542


Modified Paths:
---------------
trunk/src/org/xadisk/tests/correctness/CoreXAFileSystemTests.java
trunk/src/org/xadisk/tests/correctness/TestConcurrencyControl.java


Diffs:
------
Index: trunk/src/org/xadisk/tests/correctness/TestConcurrencyControl.java
===================================================================
--- trunk/src/org/xadisk/tests/correctness/TestConcurrencyControl.java  
(revision 541)
+++ trunk/src/org/xadisk/tests/correctness/TestConcurrencyControl.java  
(revision 542)
@@ -90,6 +90,7 @@
         } catch (Exception e) {
             e.printStackTrace();
         }
+        System.out.println("Done");
     }
 
     private static void testTransactionTimeout(XAFileSystem xafs) {
Index: trunk/src/org/xadisk/tests/correctness/CoreXAFileSystemTests.java
===================================================================
--- trunk/src/org/xadisk/tests/correctness/CoreXAFileSystemTests.java   
(revision 541)
+++ trunk/src/org/xadisk/tests/correctness/CoreXAFileSystemTests.java   
(revision 542)
@@ -485,6 +485,10 @@
         }
 
         System.out.println("Inbound Messaging Test Successful.");
+        //we should allow some time here as the connections opened in this 
thread
+        //will still be required for calls like afterDelivery, and the 
termination
+        //of this thread will lead to closing of such connections/sockets.
+        Thread.sleep(10000);
     }
 
     public void testFileSystemEventingPostCrash(String testDirectory) throws 
Exception {





[xadisk~svn:542] Minor changes in testcase.

nitin_verma 08/26/2013
 
 
Close
loading
Please Confirm
Close