Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(mojaloop/#2881): add bulk transfer timeout tests #82

Merged
merged 2 commits into from
Aug 18, 2022
Merged

Conversation

kleyow
Copy link
Contributor

@kleyow kleyow commented Aug 18, 2022

feat(mojaloop/#2881): add bulk transfer timeout tests - mojaloop/project#2881

  • Added test for scenario - POST /bulkTransfers prepare request which has timed out. Assert both Payer and Payee receive PUT /bulkTransfers/{ID} callbacks detailing a COMPLETED bulkTransfer with individualTransfer errors for all transfers.

  • Added test for scenario - POST /bulkTransfers prepare request which has timed out and the Payee sends a late PUT /bulkTransfers/{ID} fulfilment request. Assert both Payer and Payee receive PUT /bulkTransfers/{ID} callbacks detailing a COMPLETED bulkTransfer with individualTransfer errors for all transfers. Positions don't change after late fulfilment.

@kleyow kleyow requested a review from mdebarros August 18, 2022 11:45
@elnyry-sam-k
Copy link
Member

Thanks Kevin @kleyow , looking good. just minor description changes..

Separately we need to discuss the behavior for the second scenario and create a follow-up issue for that.. : what is the expected behavior - should we log an error, should we send an error callback or patch notification or similar..

@kleyow
Copy link
Contributor Author

kleyow commented Aug 18, 2022

@elnyry-sam-k done

@kleyow kleyow requested a review from elnyry-sam-k August 18, 2022 12:53
@kleyow kleyow changed the title feat(mojaloop#2881): add bulk transfer timeout tests feat(mojaloop/#2881): add bulk transfer timeout tests Aug 18, 2022
@kleyow kleyow merged commit 4621d9e into master Aug 18, 2022
@kleyow kleyow deleted the feat/timeout branch August 18, 2022 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants