Skip to content

Commit

Permalink
Un-@ignore tests for Indexing across multiple GIT Repositories follow…
Browse files Browse the repository at this point in the history
…ing fix in UberFire
  • Loading branch information
manstis committed Jan 23, 2015
1 parent 43da08e commit 6c36687
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
public class MultipleRepositoryCopiedResourcesTest extends MultipleRepositoryBaseIndexingTest<TestPropertiesFileTypeDefinition> {

@Test
@Ignore("Copying between repositories is broken.")
// @Ignore("Copying between repositories is broken.")
public void testIndexingCopiedResources() throws IOException, InterruptedException {
//Add test files
loadProperties( "file1.properties",
Expand All @@ -63,7 +63,7 @@ public void testIndexingCopiedResources() throws IOException, InterruptedExcepti
ioService().copy( getBasePath( this.getClass().getSimpleName() + "_1" ).resolve( "file1.properties" ),
getBasePath( this.getClass().getSimpleName() + "_2" ).resolve( "file1.properties" ) );

Thread.sleep( 50000 ); //wait for events to be consumed from jgit -> (notify changes -> watcher -> index) -> lucene index
Thread.sleep( 5000 ); //wait for events to be consumed from jgit -> (notify changes -> watcher -> index) -> lucene index

{
final IndexSearcher searcher = ( (LuceneIndexManager) getConfig().getIndexManager() ).getIndexSearcher();
Expand Down

0 comments on commit 6c36687

Please sign in to comment.