Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add a new test that produces stored notifs #598

Merged
merged 9 commits into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ integration-test:

.PHONY: pydocstyle
pydocstyle: $(INSTALL_STAMP) ## Run pydocstyle
$(POETRY) run pydocstyle -es $(TESTS_DIR) --count --config=$(PYPROJECT_TOML)
$(POETRY) run pydocstyle -es --count --config=$(PYPROJECT_TOML) $(TESTS_DIR)

lint:
$(POETRY) -V
$(POETRY) install --no-root
$(POETRY) run isort --sp $(PYPROJECT_TOML) -c $(TESTS_DIR)
$(POETRY) run black --quiet --diff --config $(PYPROJECT_TOML) --check $(TESTS_DIR)
$(POETRY) run flake8 --config $(FLAKE8_CONFIG) $(TESTS_DIR)
$(POETRY) run pydocstyle --config=$(PYPROJECT_TOML)
$(POETRY) run pydocstyle --config=$(PYPROJECT_TOML) $(TESTS_DIR)
$(POETRY) run mypy $(TESTS_DIR) --config-file=$(PYPROJECT_TOML)

load:
Expand Down
2 changes: 1 addition & 1 deletion tests/load/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ COPY ./tests/load/locustfiles ./tests/load/locustfiles
EXPOSE 8089 5557

USER locust
ENTRYPOINT locust -f "tests/load/locustfiles/locustfile.py,tests/load/locustfiles/load.py"
ENTRYPOINT locust -f "tests/load/locustfiles/locustfile.py,tests/load/locustfiles/stored.py,tests/load/locustfiles/load.py"
3 changes: 2 additions & 1 deletion tests/load/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ services:
- "8089:8089"
environment:
LOCUST_USERCLASS_PICKER: true
LOCUST_MODERN_UI: true
LOCUST_HOST: ${LOCUST_HOST}
LOCUST_LOGLEVEL: "INFO"
command: >
Expand All @@ -24,4 +25,4 @@ services:
LOCUST_MASTER_NODE_HOST: locust_master
LOCUST_LOGLEVEL: "INFO"
command: >
--worker
--worker
2 changes: 2 additions & 0 deletions tests/load/kubernetes-config/locust-master-controller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ spec:
value: "true"
- name: LOCUST_USERCLASS_PICKER
value: "true"
- name: LOCUST_MODERN_UI
value: "true"
- name: TARGET_HOST
value:
- name: LOCUST_CSV
Expand Down
Loading