Skip to content

Commit

Permalink
Do not fetch cached result in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Indy Prentice authored and Indy Prentice committed Jul 26, 2023
1 parent 1baa192 commit 4100a9d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ private void clearCache() {
public void testSearchService() throws Exception {
SearchResult searchResult =
_searchService.searchAcrossEntities(ImmutableList.of(ENTITY_NAME), "test", null,
null, 0, 10, new SearchFlags().setFulltext(true));
null, 0, 10, new SearchFlags().setFulltext(true).setSkipCache(true));
assertEquals(searchResult.getNumEntities().intValue(), 0);
searchResult = _searchService.searchAcrossEntities(ImmutableList.of(), "test", null,
null, 0, 10, new SearchFlags().setFulltext(true));
Expand Down

0 comments on commit 4100a9d

Please sign in to comment.