From 751c52eac2326a00b98cfc631c93dbbd99ab6b4b Mon Sep 17 00:00:00 2001 From: Kirill Fedoseev Date: Tue, 26 Nov 2019 16:52:38 +0300 Subject: [PATCH] Up-to-date tests readme --- tests/README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/README.md b/tests/README.md index c6aa152..ca6edab 100644 --- a/tests/README.md +++ b/tests/README.md @@ -17,9 +17,7 @@ To run the bridge tests, you first need to clean old test environment, and then ./tests/init.sh ``` This will create a clean development environment, using `./demo/start-environment.sh`. -This will also prefund user accounts from `./tests/config.json` for both networks. -Prefunding process uses `./src/test-services` scripts. -Finally, this command will start 3 validators in daemon mode (using `./demo/validator-demo.sh`), +Then, this command will start 3 validators in daemon mode (using `./demo/validator-demo.sh`), and wait until they are ready. Next, you can run the tests: @@ -27,9 +25,10 @@ Next, you can run the tests: ./tests/run.sh ``` -After tests are done, all active docker containers can be killed. +After tests are done, all active docker containers should be killed automatically. +Or you can do it manually: ```bash docker kill $(docker ps | grep validator[1-3]_ | awk '{print $1}') -docker kill ganache_side ganache_home -docker kill binance-testnet_http-api_1 binance-testnet_node_1 binance-testnet_api-server_1 +docker kill $(docker ps | grep ethereum-testnet_ | awk '{print $1}') +docker kill $(docker ps | grep binance-testnet_ | awk '{print $1}') ```