Skip to content

Commit

Permalink
Hotfix: TEST_PRIV_KEY env variable was not passed into docker contain…
Browse files Browse the repository at this point in the history
…er for end-to-end tests
  • Loading branch information
philipstanislaus committed Nov 29, 2019
1 parent 0f3d362 commit 8f43a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8f43a37

Please sign in to comment.