increased responseMsToLive from 0 to 10s, to prevent infinite loops

This commit is contained in:
Art Lowel
2019-10-07 15:35:19 +02:00
parent 4836fd9ec8
commit 254b7d1633
9 changed files with 11 additions and 11 deletions

View File

@@ -60,7 +60,7 @@ describe('SubmissionRestService test suite', () => {
it('should configure a new SubmissionRequest', () => {
const expected = new SubmissionRequest(requestService.generateRequestId(), resourceHref);
// set cache time to zero
expected.responseMsToLive = 0;
expected.responseMsToLive = 10 * 1000;
scheduler.schedule(() => service.getDataById(resourceEndpoint, resourceScope).subscribe());
scheduler.flush();