Try to fix test
This commit is contained in:
parent
c2dbcc7ff0
commit
40a65fb2cc
|
@ -305,8 +305,11 @@ public abstract class BaseHapiTerminologySvc implements IHapiTerminologySvc {
|
|||
@Transactional(propagation=Propagation.REQUIRED)
|
||||
@Override
|
||||
public synchronized void saveDeferred() {
|
||||
if (!myProcessDeferred || ((myConceptsToSaveLater.isEmpty() && myConceptLinksToSaveLater.isEmpty()))) {
|
||||
if (!myProcessDeferred) {
|
||||
return;
|
||||
} else if (myConceptsToSaveLater.isEmpty() && myConceptLinksToSaveLater.isEmpty()) {
|
||||
processReindexing();
|
||||
return;
|
||||
}
|
||||
|
||||
int codeCount = 0, relCount = 0;
|
||||
|
|
|
@ -1493,6 +1493,7 @@ public class FhirResourceDaoDstu3Test extends BaseJpaDstu3Test {
|
|||
for (int i = 0; i < 10; i++) {
|
||||
Thread.sleep(100);
|
||||
preDates.add(new Date());
|
||||
Thread.sleep(100);
|
||||
patient.setId(id);
|
||||
patient.getName().get(0).getFamily().get(0).setValue(methodName + "_i");
|
||||
ids.add(myPatientDao.update(patient, mySrd).getId().toUnqualified().getValue());
|
||||
|
|
Loading…
Reference in New Issue