lance icon indicating copy to clipboard operation
lance copied to clipboard

chore: add a systematic test for concurrent transactions

Open chebbyChefNEQ opened this issue 2 weeks ago • 0 comments

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

chebbyChefNEQ avatar Feb 13 '25 21:02 chebbyChefNEQ