From 9a25e70ddab3fc93f810bd1dcab56f8e8d48debe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Eckel?= Date: Mon, 16 Jan 2023 11:18:29 +0100 Subject: [PATCH] give time to the db container MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Eckel --- .github/workflows/unit-tests.yml | 2 +- Makefile | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index b0ae5be..e42ab42 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -29,5 +29,5 @@ jobs: run: pip install -e '.[dev]' - - name: Start containers + - name: Execute Tests run: make test diff --git a/Makefile b/Makefile index 7739fea..9143d93 100644 --- a/Makefile +++ b/Makefile @@ -81,12 +81,13 @@ test: check-deps test-unit test-acceptance ## Run unit and acceptance tests test-unit: check-deps ## Run all tests once or specify a file/test with TEST=tests/file.py::Class::test @$(DC) up -d tarantool + sleep 3 #wget https://github.com/tendermint/tendermint/releases/download/v0.34.15/tendermint_0.34.15_linux_amd64.tar.gz #tar zxf tendermint_0.34.15_linux_amd64.tar.gz pytest -m "not abci" rm -rf ~/.tendermint && ./tendermint init && ./tendermint node --consensus.create_empty_blocks=false --rpc.laddr=tcp://0.0.0.0:26657 --proxy_app=tcp://localhost:26658& pytest -m abci - @$(DC) down + @$(DC) stop tarantool