Skip to content

Commit

Permalink
test: Add IBC timeout test (#574)
Browse files Browse the repository at this point in the history
  • Loading branch information
anhductn2001 authored Feb 19, 2024
1 parent 87dd0e1 commit f898070
Show file tree
Hide file tree
Showing 5 changed files with 189 additions and 79 deletions.
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
- 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

0 comments on commit f898070

Please sign in to comment.