diff options
author | waqas.ikram <waqas.ikram@est.tech> | 2020-09-14 12:41:26 +0100 |
---|---|---|
committer | waqas.ikram <waqas.ikram@est.tech> | 2020-09-14 12:41:36 +0100 |
commit | 123a4114a1498984bc6ddaa9bab7734e19d00026 (patch) | |
tree | 52b419f8076a524d35163e3ab5aa65ed04b77695 /so-etsi-nfvo/so-etsi-nfvo-ns-lcm/so-etsi-nfvo-ns-lcm-bpmn-flows/src/main | |
parent | 9d7de81cbd73c5c4c271c17afe7cd6cf9bba67ab (diff) |
Increasing Ns request timeout for tests
Get Job status takes more then 10s if there is full GC
so increasing the timeout
Change-Id: I1c0d38b8ef8df4f78fdf2c54e5375ab45f8f15ae
Issue-ID: SO-2868
Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
Diffstat (limited to 'so-etsi-nfvo/so-etsi-nfvo-ns-lcm/so-etsi-nfvo-ns-lcm-bpmn-flows/src/main')
-rw-r--r-- | so-etsi-nfvo/so-etsi-nfvo-ns-lcm/so-etsi-nfvo-ns-lcm-bpmn-flows/src/main/java/org/onap/so/etsi/nfvo/ns/lcm/bpmn/flows/service/JobExecutorService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/so-etsi-nfvo/so-etsi-nfvo-ns-lcm/so-etsi-nfvo-ns-lcm-bpmn-flows/src/main/java/org/onap/so/etsi/nfvo/ns/lcm/bpmn/flows/service/JobExecutorService.java b/so-etsi-nfvo/so-etsi-nfvo-ns-lcm/so-etsi-nfvo-ns-lcm-bpmn-flows/src/main/java/org/onap/so/etsi/nfvo/ns/lcm/bpmn/flows/service/JobExecutorService.java index f3c38e537f..13cdc60b1b 100644 --- a/so-etsi-nfvo/so-etsi-nfvo-ns-lcm/so-etsi-nfvo-ns-lcm-bpmn-flows/src/main/java/org/onap/so/etsi/nfvo/ns/lcm/bpmn/flows/service/JobExecutorService.java +++ b/so-etsi-nfvo/so-etsi-nfvo-ns-lcm/so-etsi-nfvo-ns-lcm-bpmn-flows/src/main/java/org/onap/so/etsi/nfvo/ns/lcm/bpmn/flows/service/JobExecutorService.java @@ -209,13 +209,13 @@ public class JobExecutorService { final NfvoJob nfvoJob = optional.get(); currentJobStatus = nfvoJob.getStatus(); - logger.debug("Received job status response: \n ", nfvoJob); + logger.info("Received job status response: \n ", nfvoJob); if (jobFinishedStates.contains(nfvoJob.getStatus())) { logger.info("Job finished \n {}", currentJobStatus); return ImmutablePair.of(nfvoJob.getProcessInstanceId(), currentJobStatus); } - logger.debug("Haven't received one of finish state {} yet, will try again in {} seconds", + logger.info("Haven't received one of finish state {} yet, will try again in {} seconds", jobFinishedStates, SLEEP_TIME_IN_SECONDS); TimeUnit.SECONDS.sleep(SLEEP_TIME_IN_SECONDS); |