oasis-sdk icon indicating copy to clipboard operation
oasis-sdk copied to clipboard

Write an e2e test that generates only valid operations

Open abukosek opened this issue 3 years ago • 0 comments

The current txgen e2e test generates all kinds of transactions, including invalid ones, so errors are expected and we can't fail the test on error.

We should write a separate test that also uses txgen to generate transactions for the simple-keyvalue runtime, but in a more intelligent way -- the generated insert/get/remove operations should always succeed, so that we can detect when an actual error happens and fail the test.

abukosek avatar Jun 01 '21 08:06 abukosek