boltlabs-inc / zeekoe

Zero-knowledge layer-2 payment channels
MIT License
24 stars 1 forks source link

Parallelize tests #282

Closed DariusParvin closed 2 years ago

DariusParvin commented 2 years ago

Right now our tests scenarios must be run in serial. This is because: 1 - we use the same tezos accounts for all the tests 2 - zeekoe creates operations independently of each other, which can cause errors/conflicts if two operations are created at the same time (see #212)

When our tests become more extensive, we may want to consider parallelizing the tests by using multiple accounts, multiple sandbox instances, or coordinating the tests so that they don't have conflicting on-chain operations.

marsella commented 2 years ago

This remains a problem with the existing Tezos infrastructure. I see several possible outcomes here:

I don't expect that we will build out a complex infrastructure of multiple sandboxes, etc. to speed up our testing. These tests are currently run overnight, so timing is not an issue. I am going to close this issue, because I don't think there is a concrete task that is not addressed by the other linked issues.