This clustering test orj.jboss.test.ha.farm.test.ClusterFileTransferTestCase:
creates a test file farmtestfile.jar on node0, waits 15 seconds and checks that the file has been propagated to node1 and that the files have equal contents
(ii) deletes the test file on node1, waits 15 seconds and checks that the file on node0 has been deleted
(iii) creates a file on node1, waits 15 seconds and checks that the file has been propagated to node0 and that the files have equal contents
The test fails in a repeatable manner, although sometimes for different reasons:
a. in some cases, the file deletion on node1 in step (ii) fails, despite the fact that the file exists
b. in some cases, the file existence on node0 in step (iii) fails - the file just does not get propagated
I could reproduce cases of a. in which the file was proven to exist, but the delete operation just didn't work.
I added in try/catch to attemtp to catch a SecurityException but no such exception was thrown. It just seems as
through the delete operation just doesn't work. I also checked the File pathname and it is in a standard Windows form.
I have provided one failure example and attached the files:
TEST-*.xml is the test case log
test.log is the client side test log
node0.output.log the serverside log for node0, and similarly for node1.
I have also seen a message in the server side log from a farm component that the file could not be deleted. If you want I can try and reproduce that error.
- incorporates
-
JBAS-4415 ClusterFileTransferTestCase.testFarmDeploy fails to delete and copy
- Closed
- is blocked by
-
EJBTHREE-969 EJB3Deployer locking jars in deploy dir
- Closed