chore: fix system test for v2 (#23328)

This commit is contained in:
Alex | Interchain Labs 2025-01-14 17:50:02 -05:00 committed by GitHub
parent 1c9159d572
commit 69defb4011
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -166,7 +166,7 @@ jobs:
- name: system tests v2
if: env.GIT_DIFF
run: |
COSMOS_BUILD_OPTIONS=v2 make test-system
make test-system
- uses: actions/upload-artifact@v4
if: failure()
with:

View File

@ -24,8 +24,8 @@ test-all: test-unit test-integration test-ledger-mock test-race
.PHONY: test-system
test-system: build
mkdir -p ./tests/systemtests/binaries/
cp $(BUILDDIR)/simd$(if $(findstring v2,$(COSMOS_BUILD_OPTIONS)),v2) ./tests/systemtests/binaries/
$(MAKE) -C tests/systemtests test
cp $(BUILDDIR)/simdv2 ./tests/systemtests/binaries/
COSMOS_BUILD_OPTIONS=v2 $(MAKE) -C tests/systemtests test
TEST_PACKAGES=./...

View File

@ -401,7 +401,7 @@ func TestGetTxEvents_GRPCGateway(t *testing.T) {
} else {
require.NoError(t, err)
txs := gjson.Get(string(res), "txs").Array()
require.Equal(t, len(txs), tc.expLen)
require.Equal(t, tc.expLen, len(txs))
}
})
}