fix: oha as per latest updates.

This commit is contained in:
Darshan 2025-06-23 12:45:34 +05:30
parent b52c49389c
commit 6a74273564

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