fix: oha as per latest updates.

This commit is contained in:
Darshan 2025-06-23 12:57:40 +05:30
parent 9b51b1bf9c
commit 38a39d1168

View file

@ -65,7 +65,7 @@ jobs:
sudo apt update
sudo apt install oha
- name: Benchmark PR
run: 'oha -z 180s http://localhost/v1/health/version -o json > benchmark.json'
run: 'oha -z 180s http://localhost/v1/health/version --output-format json --output benchmark.json'
- name: Cleaning
run: docker compose down -v
- name: Installing latest version
@ -78,7 +78,7 @@ jobs:
docker compose up -d
sleep 10
- name: Benchmark Latest
run: oha -z 180s http://localhost/v1/health/version -o json > benchmark-latest.json
run: 'oha -z 180s http://localhost/v1/health/version --output-format json --output benchmark-latest.json'
- name: Prepare comment
run: |
echo '## :sparkles: Benchmark results' > benchmark.txt