fix: commented out importer test (#691)

* fix: commented out importer test (fixes #659)

updated the importer test as a test suite
plus added the block export file
from https://github.com/cosmos/ethermint/blob/development/importer/blockchain

* remove a dead branch

* re-added CI check

* go 1.17
This commit is contained in:
Tomas Tauber
2021-10-22 12:20:23 +02:00
committed by GitHub
parent ac75a9a4a4
commit 1474c70719
4 changed files with 292 additions and 423 deletions
+2 -4
View File
@@ -257,7 +257,7 @@ godocs:
test: test-unit
test-all: test-unit test-race
PACKAGES_UNIT=$(shell go list ./...)
PACKAGES_UNIT=$(shell go list ./... | grep -Ev 'vendor|importer')
TEST_PACKAGES=./...
TEST_TARGETS := test-unit test-unit-cover test-race
@@ -282,9 +282,7 @@ else
endif
test-import:
@go test ./tests/importer -v --vet=off --run=TestImportBlocks --datadir tmp \
--blockchain blockchain
rm -rf tests/importer/tmp
go test -run TestImporterTestSuite -v --vet=off github.com/tharsis/ethermint/tests/importer
test-rpc:
./scripts/integration-test-all.sh -t "rpc" -q 1 -z 1 -s 2 -m "rpc" -r "true"