OK,  I changed this part, and added a simple test in FileSystemDeploymentServiceUnitTestCase to simulate composite result of failure scenario.