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

[feature]: Add integration test for concurrent transfers with delayed block mining #1081

Open
ffranr opened this issue Aug 13, 2024 · 2 comments
Labels

Comments

@ffranr
Copy link
Contributor

ffranr commented Aug 13, 2024

This issue stems from this comment by @jharveyb : #1068 (comment)

It would be beneficial to add an integration test that simulates multiple transfers running concurrently. This can be achieved by delaying the mining of a block. The test should submit a first transfer, then a second one, ensuring both are pending confirmation until the block is mined. Once the block is mined, both transfers should proceed as expected. This test would help verify the correct handling of concurrent transfers under these conditions.

@ffranr
Copy link
Contributor Author

ffranr commented Aug 13, 2024

Might also be a good opportunity to refactor this itest: #1074 (comment)

@jharveyb
Copy link
Collaborator

Aye - and once the proof resume on restart work is all in I think we should be able to restart before that conf comes in and resume all parcels correctly if the conf happens while we are shut down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants