One more test fix

This commit is contained in:
James Agnew 2019-08-23 11:46:56 -04:00
parent c346ba92c8
commit c564052b15
1 changed files with 1 additions and 0 deletions

View File

@ -3938,6 +3938,7 @@ public class ResourceProviderR4Test extends BaseResourceProviderR4Test {
.count(5) .count(5)
.returnBundle(Bundle.class) .returnBundle(Bundle.class)
.execute(); .execute();
mySearchResultCacheSvc.flushLastUpdated();
final String uuid1 = toSearchUuidFromLinkNext(result1); final String uuid1 = toSearchUuidFromLinkNext(result1);
Search search1 = newTxTemplate().execute(theStatus -> mySearchEntityDao.findByUuidAndFetchIncludes(uuid1).orElseThrow(()->new InternalErrorException(""))); Search search1 = newTxTemplate().execute(theStatus -> mySearchEntityDao.findByUuidAndFetchIncludes(uuid1).orElseThrow(()->new InternalErrorException("")));