diff --git a/docker/bench/run-ab.sh b/docker/bench/run-ab.sh index f1868b4..e3f648c 100644 --- a/docker/bench/run-ab.sh +++ b/docker/bench/run-ab.sh @@ -63,11 +63,13 @@ parse_to_csv() { status="pass" test_type="AB" elif [[ "$line" =~ "TTFB test failed" ]]; then - time="N/A" # Indicate not applicable or failed to obtain time + # Assuming a default value or detection logic for failed test time + time="0" # Placeholder for failed test time status="fail" test_type="TTFB" elif [[ "$line" =~ "ApacheBench test failed" ]]; then - time="N/A" # Indicate not applicable or failed to obtain time + # Assuming a default value or detection logic for failed test time + time="0" # Placeholder for failed test time status="fail" test_type="AB" fi