Fix 3840 broken test (#3862)
* added a paging api to ijobcoordinator * adding changelog * moved location * added a comment * Added Sort parameter to JobInstanceFetchRequest * Bump HAPI-FHIR version * Updated JPA api to include sort * Add changelog * Fix test Co-authored-by: leif stawnyczy <leifstawnyczy@leifs-MacBook-Pro.local> Co-authored-by: David Chen <david.chen@smilecdr.com>
This commit is contained in:
parent
be0b6f1a0b
commit
8740c10ed9
|
@ -39,6 +39,7 @@ import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.data.domain.Page;
|
import org.springframework.data.domain.Page;
|
||||||
|
import org.springframework.data.domain.Sort;
|
||||||
import org.springframework.messaging.Message;
|
import org.springframework.messaging.Message;
|
||||||
import org.springframework.messaging.MessageChannel;
|
import org.springframework.messaging.MessageChannel;
|
||||||
import org.springframework.messaging.MessageHandler;
|
import org.springframework.messaging.MessageHandler;
|
||||||
|
@ -152,6 +153,7 @@ public class Batch2CoordinatorIT extends BaseJpaR4Test {
|
||||||
JobInstanceFetchRequest request = new JobInstanceFetchRequest();
|
JobInstanceFetchRequest request = new JobInstanceFetchRequest();
|
||||||
request.setPageStart(index);
|
request.setPageStart(index);
|
||||||
request.setBatchSize(size);
|
request.setBatchSize(size);
|
||||||
|
request.setSort(Sort.unsorted());
|
||||||
|
|
||||||
Page<JobInstance> page;
|
Page<JobInstance> page;
|
||||||
Iterator<JobInstance> iterator;
|
Iterator<JobInstance> iterator;
|
||||||
|
|
Loading…
Reference in New Issue