chore: fix system test for v2 (#23328)
This commit is contained in:
parent
1c9159d572
commit
69defb4011
2
.github/workflows/v2-test.yml
vendored
2
.github/workflows/v2-test.yml
vendored
@ -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:
|
||||
|
||||
@ -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=./...
|
||||
|
||||
@ -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))
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user