From b9642b4e626103a2e8596a31b5121a7c2cd4b034 Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Fri, 29 Nov 2024 16:10:00 -0600 Subject: [PATCH] `make ictest-icsconsumer` --- .github/workflows/interchaintest-e2e.yml | 3 ++- Makefile | 4 ++++ interchaintest/icsconsumer/consumer_launch_test.go | 3 +-- interchaintest/setup.go | 2 -- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/interchaintest-e2e.yml b/.github/workflows/interchaintest-e2e.yml index 3f51a38..a30a2fe 100644 --- a/.github/workflows/interchaintest-e2e.yml +++ b/.github/workflows/interchaintest-e2e.yml @@ -83,7 +83,8 @@ jobs: - "ictest-packetforward" - "ictest-tokenfactory" - "ictest-ratelimit" - - "ictest-ics" + - "ictest-ics" # direct provider integration verifiction + - "ictest-icsconsumer" # Consumer<>Provider actual fail-fast: false steps: diff --git a/Makefile b/Makefile index afc561f..6050e76 100644 --- a/Makefile +++ b/Makefile @@ -262,6 +262,10 @@ ictest-ics: @echo "Running ICS e2e test" @cd interchaintest && go test -race -v -run TestICSProviderSuite ./integration +ictest-icsconsumer: + @echo "Running ICS Consumer e2e test" + @cd interchaintest && go test -race -v -run TestICS6Consumer ./icsconsumer + ictest-wasm: @echo "Running Cosmwasm e2e test" @cd interchaintest && go test -race -v -run TestCosmWasmIntegration . diff --git a/interchaintest/icsconsumer/consumer_launch_test.go b/interchaintest/icsconsumer/consumer_launch_test.go index 128a1e1..7c4b5ea 100644 --- a/interchaintest/icsconsumer/consumer_launch_test.go +++ b/interchaintest/icsconsumer/consumer_launch_test.go @@ -24,8 +24,7 @@ func TestICS6Consumer(t *testing.T) { Suite: chainsuite.NewSuite(chainsuite.SuiteConfig{ CreateRelayer: true, ChainSpec: &interchaintest.ChainSpec{ - // Two or Six. uses less as determinism would be caught upstream - NumValidators: &chainsuite.TwoValidators, + NumValidators: &chainsuite.SixValidators, ChainConfig: e2e.DefaultChainConfig, }, }), diff --git a/interchaintest/setup.go b/interchaintest/setup.go index c1da08b..31a90e4 100644 --- a/interchaintest/setup.go +++ b/interchaintest/setup.go @@ -26,8 +26,6 @@ import ( ) var ( - VotingPeriod = "15s" - MaxDepositPeriod = "10s" ProviderSlashingWindow = 10 DowntimeJailDuration = 10 * time.Second CommitTimeout = 4 * time.Second