Skip to content

Commit 69defb4

Browse files
author
Alex | Interchain Labs
authored
chore: fix system test for v2 (#23328)
1 parent 1c9159d commit 69defb4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/v2-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ jobs:
166166
- name: system tests v2
167167
if: env.GIT_DIFF
168168
run: |
169-
COSMOS_BUILD_OPTIONS=v2 make test-system
169+
make test-system
170170
- uses: actions/upload-artifact@v4
171171
if: failure()
172172
with:

scripts/build/testing.mk

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ test-all: test-unit test-integration test-ledger-mock test-race
2424
.PHONY: test-system
2525
test-system: build
2626
mkdir -p ./tests/systemtests/binaries/
27-
cp $(BUILDDIR)/simd$(if $(findstring v2,$(COSMOS_BUILD_OPTIONS)),v2) ./tests/systemtests/binaries/
28-
$(MAKE) -C tests/systemtests test
27+
cp $(BUILDDIR)/simdv2 ./tests/systemtests/binaries/
28+
COSMOS_BUILD_OPTIONS=v2 $(MAKE) -C tests/systemtests test
2929

3030

3131
TEST_PACKAGES=./...

tests/systemtests/tx_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ func TestGetTxEvents_GRPCGateway(t *testing.T) {
401401
} else {
402402
require.NoError(t, err)
403403
txs := gjson.Get(string(res), "txs").Array()
404-
require.Equal(t, len(txs), tc.expLen)
404+
require.Equal(t, tc.expLen, len(txs))
405405
}
406406
})
407407
}

0 commit comments

Comments
 (0)