Prathamesh Musale
8c0540bdb5
- 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>
18 lines
328 B
Go
18 lines
328 B
Go
package bond
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/suite"
|
|
|
|
"git.vdb.to/cerc-io/laconic2d/tests/e2e"
|
|
"git.vdb.to/cerc-io/laconic2d/testutil/network"
|
|
)
|
|
|
|
func TestBondE2ETestSuite(t *testing.T) {
|
|
cfg := network.DefaultConfig(e2e.NewTestNetworkFixture)
|
|
cfg.NumValidators = 1
|
|
|
|
suite.Run(t, NewE2ETestSuite(cfg))
|
|
}
|