Commit Graph

1 Commits

Author SHA1 Message Date
8c0540bdb5 Add a test network setup and patch for E2E tests (#18)
Some checks failed
Lint / Run golangci-lint (push) Successful in 2m58s
E2E Tests / test-e2e (push) Failing after 1m31s
Integration Tests / test-integration (push) Successful in 1m17s
Unit Tests / test-unit (push) Successful in 1m15s
- The E2E tests sometimes fail with error `timeout exceeded waiting for block` in CI (always passed locally)
- The error occurs in the test network (provided in cosmos-sdk) creation when [waiting](https://github.com/cosmos/cosmos-sdk/blob/v0.50.3/testutil/network/network.go#L622) for the first block because of block timeout being too short ([hardcoded](https://github.com/cosmos/cosmos-sdk/blob/v0.50.3/testutil/network/network.go#L670) to 5s)
- Copy over this network setup in the repo and patch to skip this check; we are waiting for a block to appear after the network creation anyway

Reviewed-on: deep-stack/laconic2d#18
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2024-03-07 12:35:59 +00:00