Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Add IBC timeout test #574

Merged
merged 2 commits into from
Feb 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/e2e_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ jobs:
with:
go-version: 1.19

- run: make e2e-test-ibc
- run: make e2e-test-ibc
Comment on lines +33 to +34
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we run them in parallel or with the current architecture this is not possible right now?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could actually go for

- run: make e2e-test-all

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand your current concern regarding the issue of parallel execution. I'll create another PR to incorporate them into a feasible matrix architecture for parallel CI execution. @pgoos

- run: make e2e-test-ibc-timeout
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,14 @@ docker-build-e2e:
e2e-test-ibc:
cd e2e && go test -timeout=25m -race -v -run TestIBCTransfer .

# Executes IBC tests via rollup-e2e-testing
e2e-test-ibc-timeout:
cd e2e && go test -timeout=25m -race -v -run TestIBCTransferTimeout .

# Executes all tests via rollup-e2e-testing
e2e-test-all: ictest-ibc
e2e-test-all: e2e-test-ibc e2e-test-ibc-timeout

.PHONY: e2e-test-ibc e2e-test-all
.PHONY: e2e-test-ibc e2e-test-ibc-timeout e2e-test-all

###############################################################################
### Proto ###
Expand Down
4 changes: 2 additions & 2 deletions e2e/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ replace (
require (
cosmossdk.io/math v1.0.0-rc.0
github.com/cosmos/cosmos-sdk v0.46.16-0.20231025193730-41d2a21c1348
github.com/decentrio/rollup-e2e-testing v0.0.0-20240129162044-115e3e94b95b
github.com/cosmos/ibc-go/v6 v6.2.1
github.com/decentrio/rollup-e2e-testing v0.0.0-20240217042554-3b5f78dba876
github.com/evmos/ethermint v0.0.0-00010101000000-000000000000
github.com/stretchr/testify v1.8.4
go.uber.org/zap v1.24.0
Expand Down Expand Up @@ -57,7 +58,6 @@ require (
github.com/cosmos/gogoproto v1.4.7 // indirect
github.com/cosmos/gorocksdb v1.2.0 // indirect
github.com/cosmos/iavl v0.19.6 // indirect
github.com/cosmos/ibc-go/v6 v6.2.1 // indirect
github.com/cosmos/ledger-cosmos-go v0.12.4 // indirect
github.com/danieljoos/wincred v1.1.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
Expand Down
Loading
Loading