diff --git a/.github/workflows/load-test.yml b/.github/workflows/load-test.yml index 367e77e..7de6020 100644 --- a/.github/workflows/load-test.yml +++ b/.github/workflows/load-test.yml @@ -27,4 +27,4 @@ jobs: - name: Run Load Test run: | - locust --headless --users 100 --spawn-rate 10 --run-time 1m --host http://localhost:5000 + locust -f tests/locustfile.py --headless --users 10 --spawn-rate 10 --run-time 2m --host http://localhost:5000 diff --git a/.gitignore b/.gitignore index aad819f..937ac3d 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ logs/ # Ignore tests for now test.txt -tests/ - +# tests/ +# K8s folder +k8s/ \ No newline at end of file diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/locustfile.py b/tests/locustfile.py similarity index 100% rename from locustfile.py rename to tests/locustfile.py diff --git a/tests/test_main.py b/tests/test_main.py new file mode 100644 index 0000000..e69de29