Add timeouts for most CLI commands #16

Merged
abereziny merged 1 commit from abereziny/frostfs-testcases:feature-add-timeouts into master 2023-07-26 21:08:05 +00:00
2 changed files with 2 additions and 42 deletions

View file

@ -48,20 +48,8 @@ To setup development environment for `frosfs-testcases`, please, take the follow
1. Prepare virtualenv
```shell
$ virtualenv --python=python3.9 venv
$ source venv/bin/activate
```
2. Install all dependencies:
```shell
$ pip install -r requirements.txt
```
3. Setup pre-commit hooks to run code formatters on staged files before you run a `git commit` command:
```shell
$ pre-commit install
$ make venv
$ source frostfs-testcases-3.10/bin/activate
```
Optionally you might want to integrate code formatters with your code editor to apply formatters to code files as you go:

View file

@ -1,28 +0,0 @@
#!/usr/bin/make -f
.DEFAULT_GOAL := help
SHELL ?= bash
VENVS = $(shell ls -1d venv/*/ | sort -u | xargs basename -a)
.PHONY: all
all: venvs
include venv_template.mk
.PHONY: venvs
venvs:
$(foreach venv,$(VENVS),venv.$(venv))
$(foreach venv,$(VENVS),$(eval $(call VENV_template,$(venv))))
clean:
rm -rf venv.*
pytest-local:
@echo "⇒ Run Pytest"
python -m pytest pytest_tests/testsuites/
help:
@echo "⇒ run Run testcases ${R}"