Skip to content

Commit

Permalink
HSEARCH-2662 Query instance in tests should not be reused to check in…
Browse files Browse the repository at this point in the history
…dex size
  • Loading branch information
Sanne committed Apr 13, 2017
1 parent 6fa491a commit 2c43437
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -147,7 +147,8 @@ public void testQueryWhenEmpty() throws Exception {
SomeOtherEntity someOtherIndexedObject = new SomeOtherEntity();
insert( someOtherIndexedObject );

assertEquals( 0, query.queryResultSize() );
HSQuery queryAgain = getExtendedSearchIntegrator().createHSQuery( new MatchAllDocsQuery(), Animal.class );
assertEquals( 0, queryAgain.queryResultSize() );
}

@Override
Expand Down

0 comments on commit 2c43437

Please sign in to comment.