Add a test network setup and patch for E2E tests #18

Merged
ashwin merged 2 commits from pm-patch-test-network into main 2024-03-07 12:36:00 +00:00
Member
  • 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 for the first block because of block timeout being too short (hardcoded 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
- 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
prathamesh added 1 commit 2024-03-07 12:03:13 +00:00
Add test network setup
Some checks failed
Integration Tests / test-integration (pull_request) Successful in 1m53s
Build / build (pull_request) Successful in 3m22s
Unit Tests / test-unit (pull_request) Successful in 1m51s
Lint / Run golangci-lint (pull_request) Failing after 3m50s
E2E Tests / test-e2e (pull_request) Successful in 4m2s
41b386d7c3
prathamesh added 1 commit 2024-03-07 12:08:29 +00:00
Patch test network setup to handle failing E2E tests in CI
All checks were successful
Build / build (pull_request) Successful in 1m56s
Integration Tests / test-integration (pull_request) Successful in 1m56s
Unit Tests / test-unit (pull_request) Successful in 1m19s
E2E Tests / test-e2e (pull_request) Successful in 3m47s
Lint / Run golangci-lint (pull_request) Successful in 4m39s
436455b263
prathamesh changed title from [WIP] Add test network setup for E2E tests to Add a test network setup and patch for E2E tests 2024-03-07 12:32:24 +00:00
ashwin merged commit 8c0540bdb5 into main 2024-03-07 12:36:00 +00:00
ashwin deleted branch pm-patch-test-network 2024-03-07 12:36:01 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/laconicd#18
No description provided.