Skip to content

Commit 8f43a37

Browse files
Hotfix: TEST_PRIV_KEY env variable was not passed into docker container for end-to-end tests
1 parent 0f3d362 commit 8f43a37

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ test-dockerized: ## runs all tests in a docker container against the Substrate
4444
test-e2e-deployed: export RPC_URL?=wss://serinus-5.kusama.network
4545
test-e2e-deployed: ## runs only end-to-end (e2e) tests against a deployed testnet (defaults to Kusama CC2 (wss://serinus-5.kusama.network) if RPC_URL is not set)
4646
@docker build . -t gsrpc-test
47-
@docker run --rm -e RPC_URL gsrpc-test go test -v github.com/centrifuge/go-substrate-rpc-client/teste2e
47+
@docker run --rm -e RPC_URL -e TEST_PRIV_KEY gsrpc-test go test -v github.com/centrifuge/go-substrate-rpc-client/teste2e
4848

4949
run-substrate-docker: ## runs the Substrate 1.0 Default Docker image, this can be used to run the tests
5050
docker run -p 9933:9933 -p 9944:9944 -p 30333:30333 parity/substrate:latest-v1.0 --dev --rpc-external --ws-external

0 commit comments

Comments
 (0)