mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
AuditDAO test applications have GUID names; timestamp names may have caused overlap
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30329 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -41,6 +41,7 @@ import org.alfresco.service.cmr.audit.AuditService.AuditQueryCallback;
|
|||||||
import org.alfresco.service.cmr.repository.ContentData;
|
import org.alfresco.service.cmr.repository.ContentData;
|
||||||
import org.alfresco.service.transaction.TransactionService;
|
import org.alfresco.service.transaction.TransactionService;
|
||||||
import org.alfresco.util.ApplicationContextHelper;
|
import org.alfresco.util.ApplicationContextHelper;
|
||||||
|
import org.alfresco.util.GUID;
|
||||||
import org.alfresco.util.Pair;
|
import org.alfresco.util.Pair;
|
||||||
import org.apache.commons.lang.mutable.MutableInt;
|
import org.apache.commons.lang.mutable.MutableInt;
|
||||||
import org.springframework.context.ConfigurableApplicationContext;
|
import org.springframework.context.ConfigurableApplicationContext;
|
||||||
@@ -470,7 +471,7 @@ public class AuditDAOTest extends TestCase
|
|||||||
*/
|
*/
|
||||||
private AuditApplicationInfo createAuditApp() throws IOException
|
private AuditApplicationInfo createAuditApp() throws IOException
|
||||||
{
|
{
|
||||||
String appName = getName() + "." + System.currentTimeMillis();
|
String appName = getName() + "." + GUID.generate();
|
||||||
File file = AbstractContentTransformerTest.loadQuickTestFile("pdf");
|
File file = AbstractContentTransformerTest.loadQuickTestFile("pdf");
|
||||||
assertNotNull(file);
|
assertNotNull(file);
|
||||||
URL url = new URL("file:" + file.getAbsolutePath());
|
URL url = new URL("file:" + file.getAbsolutePath());
|
||||||
|
Reference in New Issue
Block a user