Settlements CGS Handler v15.0.3 failing on GP CGS tests #3585
Labels
bug
Something isn't working or it has wrong behavior on a Mojaloop Core service
core-dev-squad
oss-core
This is an issue - story or epic related to a feature on a Mojaloop core service or related to it
Summary:
CGS test scenarios are failing in GP tests on Helm v15.2.0-rc release.
Timestamps observed by tracing a POST /scenario on the CGS OTS test-cases through the Position, Notification and CGS handlers show the following results
Position Handler:
2023-10-18T15:46:00.168Z - Prepare Ingress
2023-10-18T15:46:00.232Z - Fulfil Ingress
2023-10-18T15:46:00.241Z - Fulfil Egress
Notify Handler:
2023-10-18T15:46:00.187Z - Prepare Ingress
2023-10-18T15:46:00.247Z - Fulfil Ingress
2023-10-18T15:46:00.251Z - Fulfil Egress
CGS handler:
2023-10-18T15:48:16.222Z - Prepare Ingress
2023-10-18T15:48:16.223Z - Fulfil Ingress
2023-10-18T15:48:16.225Z - updateTransferSettlement log entry
VERY luckily, all three handlers are on the same Kubernetes node/machine...this means that all time-clocks will be 100% in sync as per the following:
Observation
One can see that it nearly takes the CGS handler more than 2m to actually process the transfer.
Actions taken
We increased the artificial delay on 3m (default is 5s) which finally allowed the fully GP test-suite to pass, as this is longer than the observed 2m delay from tracing the transfer Ingress/Egress timestamps.
The CGS Handler logs also had several errors occurring intermittently as follows:
Down-grading the CGS handler from v15.0.3 (inc NodeJS upgrades and fixes) to v15.0.0 (versioned used in Mojaloop v15.1.0 release), resulted in the processing delayed no longer being an issue.
Severity:
(Low, Medium, High)
Priority:
(Critical, Medium, Low)
Expected Behavior
Steps to Reproduce
1.
2.
3.
Specifications
Notes:
The text was updated successfully, but these errors were encountered: