mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
AVM DAO refactor
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16138 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2005-2008 Alfresco Software Limited.
|
||||
* Copyright (C) 2005-2009 Alfresco Software Limited.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
@@ -37,6 +37,7 @@ import org.alfresco.service.cmr.search.SearchService;
|
||||
*/
|
||||
public class AVMServiceIndexTest extends AVMServiceTestBase
|
||||
{
|
||||
private final static long SLEEP = 180000;
|
||||
/**
|
||||
* Test async indexing.
|
||||
*
|
||||
@@ -130,7 +131,7 @@ public class AVMServiceIndexTest extends AVMServiceTestBase
|
||||
assertEquals(1, results.length());
|
||||
results.close();
|
||||
|
||||
Thread.sleep(180000);
|
||||
Thread.sleep(SLEEP);
|
||||
|
||||
results = searchService.query(storeRef, "lucene", "PATH:\"//.\"");
|
||||
assertEquals(4, results.length());
|
||||
@@ -163,7 +164,7 @@ public class AVMServiceIndexTest extends AVMServiceTestBase
|
||||
fService.createDirectory("avmAsynchronousTest:/a/b", "c");
|
||||
fService.createSnapshot("avmAsynchronousTest", null, null);
|
||||
|
||||
Thread.sleep(180000);
|
||||
Thread.sleep(SLEEP);
|
||||
|
||||
results = searchService.query(storeRef, "lucene", "PATH:\"//.\"");
|
||||
assertEquals(4, results.length());
|
||||
|
Reference in New Issue
Block a user