Skip to content

Commit

Permalink
added integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ParthDesai committed Aug 20, 2020
1 parent 05d390b commit fe43cd1
Show file tree
Hide file tree
Showing 14 changed files with 1,382 additions and 4 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
TEST_MODE=live
20 changes: 19 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ config:
mkdir -p data/.gaiacli
docker-compose run gaia gaiad init --home "/home/gaia/.gaiad" --chain-id=wormhole node || true
cp configs/keyring-test data/.gaiacli/keyring-test -R
cp configs/qt.json data/config.json
cp configs/live_config.json data/live_config.json
cp configs/faulty* data/
cp configs/simulated* data/
cp configs/genesis.json data/.gaiad/config/
cp configs/priv_validator_key.json data/.gaiad/config/
cp configs/config.toml data/.gaiad/config/
Expand All @@ -21,3 +23,19 @@ clean:

run:
docker-compose up

test_live:
docker-compose up --exit-code-from qt

test_simulated_substrate:
TEST_MODE=simulated_substrate docker-compose up --exit-code-from qt

test_simulated_cosmos:
TEST_MODE=simulated_cosmos docker-compose up --exit-code-from qt

test_faulty_simulated_substrate:
TEST_MODE=faulty_simulated_substrate docker-compose up --exit-code-from qt

test_faulty_simulated_cosmos:
TEST_MODE=faulty_simulated_cosmos docker-compose up --exit-code-from qt

Binary file added configs/.qt.json.swp
Binary file not shown.
Loading

0 comments on commit fe43cd1

Please sign in to comment.