From e8a7123d79bac4c5616f9370044eed83f1e4306f Mon Sep 17 00:00:00 2001 From: Joel Smith Date: Thu, 19 Dec 2024 12:52:41 -0600 Subject: [PATCH] Integrate with CI --- .github/workflows/wormchain-icts.yml | 1 + wormchain/Makefile | 5 ++++- wormchain/interchaintest/hot_swap_test.go | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wormchain-icts.yml b/.github/workflows/wormchain-icts.yml index a0ec4faa87..805a568727 100644 --- a/.github/workflows/wormchain-icts.yml +++ b/.github/workflows/wormchain-icts.yml @@ -62,6 +62,7 @@ jobs: - "ictest-upgrade" - "ictest-wormchain" - "ictest-ibc-receiver" + - "ictest-validator-hotswap" fail-fast: false steps: diff --git a/wormchain/Makefile b/wormchain/Makefile index 62642ff6f9..c54c6eadf1 100644 --- a/wormchain/Makefile +++ b/wormchain/Makefile @@ -109,4 +109,7 @@ ictest-wormchain: rm-testcache ictest-ibc-receiver: rm-testcache cd interchaintest && go test -race -v -run ^TestIbcReceiver ./... -.PHONY: ictest-cancel-upgrade ictest-malformed-payload ictest-upgrade-failure ictest-upgrade ictest-wormchain ictest-ibc-receiver \ No newline at end of file +ictest-validator-hotswap: rm-testcache + cd interchaintest && go test -race -v -run ^TestValidatorHotswap$$ ./... + +.PHONY: ictest-cancel-upgrade ictest-malformed-payload ictest-upgrade-failure ictest-upgrade ictest-wormchain ictest-ibc-receiver ictest-validator-hotswap \ No newline at end of file diff --git a/wormchain/interchaintest/hot_swap_test.go b/wormchain/interchaintest/hot_swap_test.go index 4ded5d0ba6..864ee21efd 100644 --- a/wormchain/interchaintest/hot_swap_test.go +++ b/wormchain/interchaintest/hot_swap_test.go @@ -65,7 +65,7 @@ type QueryGetGuardianValidatorResponse struct { GuardianValidator GuardianValidator `json:"guardianValidator"` } -func TestMultiValidatorHotSwap(t *testing.T) { +func TestValidatorHotswap(t *testing.T) { // Base setup numGuardians := 2 numVals := 3