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

chore: add a systematic test for concurrent transactions #3449

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chebbyChefNEQ
Copy link
Contributor

This PR adds a way to easily write test for concurrent transactions.

we define a new class called ParallelOperations where we can define:

  • the initial state of a dataset
  • provide a list of operation to apply to the dataset
  • end state verifier

The tests will automatically test applying the transactions in random order and make sure the transactions are applied correctly

I will add more tests in subsequent PRs

I will also add a failure test where we expect certain transactions to fail in subsequent PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant