Skip to content

Commit

Permalink
Fix path (again).
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-phaf committed Jan 16, 2024
1 parent c8d083b commit 7fe535b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ jobs:
pip install -r datastore/load-test/requirements.txt
python -m grpc_tools.protoc --proto_path=./protobuf datastore.proto --python_out=datastore/load-test --grpc_python_out=datastore/load-test
cd datastore/load-test
pwd
locust -f locustfile_write.py,locustfile_read.py --headless -u 5 -r 1 --run-time 300 --only-summary --csv store
- name: Archive load test artifacts
Expand Down
3 changes: 1 addition & 2 deletions datastore/load-test/locustfile_write.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
from locust import task
from netcdf_file_to_requests import generate_dummy_requests_from_netcdf_per_station_per_timestamp

print(Path(__file__), flush=True)
file_path = Path(Path(__file__).parent.parent / "data-loader" / "test-data" / "KNMI" / "20230101.nc")
file_path = Path(Path(__file__).resolve().parents[1] / "data-loader" / "test-data" / "KNMI" / "20230101.nc")

# stations = [
# "06201",
Expand Down

0 comments on commit 7fe535b

Please sign in to comment.