Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)

57102: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3)
      56608: ALF-20095 : Test failure in TestEnterpriseAtomPubTCK
      Correct ContentDiskDriverTest test.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61731 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2014-02-11 19:36:37 +00:00
parent 25286d4fb1
commit 1fcdf651b3

View File

@@ -4945,7 +4945,16 @@ public class ContentDiskDriverTest extends TestCase
// clean up so we could run the test again
//driver.deleteFile(testSession, testConnection, FILE_PATH);
RetryingTransactionCallback<Void> deleteFile = new RetryingTransactionCallback<Void>() {
@Override
public Void execute() throws Throwable
{
driver.deleteFile(testSession, testConnection, FILE_PATH);
return null;
}
};
tran.doInTransaction(deleteFile, false, true);
} // test set modified scenario