mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-16604: Widended before and after time around content modification
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@43308 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -194,7 +194,7 @@ public abstract class AbstractWritableContentStoreTest extends AbstractReadOnlyC
|
||||
/**
|
||||
* Checks that the various methods of obtaining a reader are supported.
|
||||
*/
|
||||
public void testGetReader() throws Exception
|
||||
public synchronized void testGetReader() throws Exception
|
||||
{
|
||||
ContentStore store = getStore();
|
||||
ContentWriter writer = store.getWriter(ContentStore.NEW_CONTENT_CONTEXT);
|
||||
@@ -212,10 +212,12 @@ public abstract class AbstractWritableContentStoreTest extends AbstractReadOnlyC
|
||||
|
||||
// write some content
|
||||
long before = System.currentTimeMillis();
|
||||
this.wait(1000L);
|
||||
writer.setMimetype("text/plain");
|
||||
writer.setEncoding("UTF-8");
|
||||
writer.setLocale(Locale.CHINESE);
|
||||
writer.putContent(content);
|
||||
this.wait(1000L);
|
||||
long after = System.currentTimeMillis();
|
||||
|
||||
// get a reader from the store
|
||||
|
Reference in New Issue
Block a user