diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0ea9b543..eb9bf2f7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -82,27 +82,6 @@ jobs: make test-rpc if: env.GIT_DIFF - test-e2e: - runs-on: ubuntu-latest - timeout-minutes: 15 - steps: - - uses: actions/setup-go@v3 - with: - go-version: 1.19 - check-latest: true - - uses: actions/checkout@v3 - - uses: technote-space/get-diff-action@v6.1.1 - with: - PATTERNS: | - **/**.sol - **/**.go - go.mod - go.sum - - name: Test e2e - run: | - make test-integration - if: env.GIT_DIFF - integration_tests: runs-on: ubuntu-latest steps: diff --git a/Makefile b/Makefile index 82bb5823..2faca3a4 100755 --- a/Makefile +++ b/Makefile @@ -328,9 +328,6 @@ test-import: test-rpc: ./scripts/integration-test-all.sh -t "rpc" -q 1 -z 1 -s 2 -m "rpc" -r "true" -test-integration: - ./scripts/integration-test-all.sh -t "integration" -q 1 -z 1 -s 2 -m "integration" -r "true" - run-integration-tests: @nix-shell ./tests/integration_tests/shell.nix --run ./scripts/run-integration-tests.sh diff --git a/scripts/integration-test-all.sh b/scripts/integration-test-all.sh index 31450eb2..e924311e 100755 --- a/scripts/integration-test-all.sh +++ b/scripts/integration-test-all.sh @@ -141,17 +141,6 @@ echo "done sleeping" set +e -if [[ -z $TEST || $TEST == "integration" ]] ; then - time_out=300s - - for i in $(seq 1 "$TEST_QTD"); do - HOST_RPC=http://$IP_ADDR:$RPC_PORT"$i" - echo "going to test ethermint node $HOST_RPC ..." - MODE=$MODE HOST=$HOST_RPC go test ./tests/e2e/... -timeout=$time_out -v -short - TEST_FAIL=$? - done -fi - if [[ -z $TEST || $TEST == "rpc" || $TEST == "pending" ]]; then time_out=300s if [[ $TEST == "pending" ]]; then @@ -186,7 +175,7 @@ for i in "${arr[@]}"; do stop_func "$i" done -if [[ (-z $TEST || $TEST == "rpc" || $TEST == "integration" ) && $TEST_FAIL -ne 0 ]]; then +if [[ (-z $TEST || $TEST == "rpc") && $TEST_FAIL -ne 0 ]]; then exit $TEST_FAIL else exit 0