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

Stability tests (multiple concurrent payments to same offer) #31

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

mrfelton
Copy link
Member

This pull request introduces a new test file, test/test05_payments_ldknode_concurrency.bats, which adds a test for concurrent payments to an LDK Node. The test attempts to make 10 concurrent payments and asserts that all payments are successful.

Changes in test cases:

  • test/test05_payments_ldknode_concurrency.bats: New test file added. It includes a setup function to initialize variables and source helper functions, a function to generate and print an offer, a function to attempt a payment and increment a success count, and a test that runs these functions to make 10 concurrent payments and assert that all payments are successful.

@mrfelton mrfelton added scope:tests Indicates improvements or additions to tests type:enhancement Indicates new feature requests labels Jun 28, 2024
@mrfelton mrfelton self-assigned this Jun 28, 2024
@mrfelton mrfelton merged commit fcb2a17 into master Jun 28, 2024
1 check failed
@mrfelton mrfelton deleted the stability-tests branch June 28, 2024 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope:tests Indicates improvements or additions to tests type:enhancement Indicates new feature requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant