From 8f43a37c2d8b9a16118571c4841e9e97ade2bd12 Mon Sep 17 00:00:00 2001 From: Philip Stanislaus <6912756+philipstanislaus@users.noreply.github.com> Date: Fri, 29 Nov 2019 13:25:45 +0100 Subject: [PATCH] Hotfix: TEST_PRIV_KEY env variable was not passed into docker container for end-to-end tests --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0be1ab8e8..e7aaf4c23 100644 --- a/Makefile +++ b/Makefile @@ -44,7 +44,7 @@ test-dockerized: ## runs all tests in a docker container against the Substrate test-e2e-deployed: export RPC_URL?=wss://serinus-5.kusama.network 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) @docker build . -t gsrpc-test - @docker run --rm -e RPC_URL gsrpc-test go test -v github.com/centrifuge/go-substrate-rpc-client/teste2e + @docker run --rm -e RPC_URL -e TEST_PRIV_KEY gsrpc-test go test -v github.com/centrifuge/go-substrate-rpc-client/teste2e run-substrate-docker: ## runs the Substrate 1.0 Default Docker image, this can be used to run the tests docker run -p 9933:9933 -p 9944:9944 -p 30333:30333 parity/substrate:latest-v1.0 --dev --rpc-external --ws-external