1 Reply Latest reply on Oct 26, 2012 4:45 PM by Clebert Suconic

    Failure on ReplicatedPagingTest

    Clebert Suconic Master

      There still a failure on replication / paging and I just discovered the root cause.. perhaps it will also happens on other replication tests...



      To replicate the failure:


      On ReplicatedPagedFailoverTest


         public void testCommitDidNotOccurUnblockedAndResend() throws Exception


            for (int i = 0 ; i < 100; i++)


               System.out.println("#test " + i);








      For some reason the backup will not be activated...


      I discovered that there is a IOException occuring, what will shutdown the server.


      The exception happened because the Backup is being stopped (by the activation) while there are still packets coming for the replicate paging. The component will be stopped and the file will be closed.





      I think I already know how to fix it...  I just wanted to give a heads up so nobody would also work on the same test I'm working on now.