Skip to content

Commit

Permalink
fix(scalability): fix benchmark.json path (#31)
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Macík <[email protected]>
  • Loading branch information
pmacik authored Jan 20, 2024
1 parent 9e2da97 commit bf4e757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci-scripts/scalability/collect-results.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ for w in "${workers[@]}"; do
[[ "${#tokens[@]}" == 1 ]] && c="" || c="${tokens[1]}" # components
index="${r}r-db_${s}-${bu}bu-${bg}bg-${w}w-${cr}cr-${cl}cl-${mr}mr-${ml}ml-${a}a-${c}c"
echo "[$index] Looking for benchmark.json for..."
benchmark_json="$(find "${ARTIFACT_DIR}" -name benchmark.json | grep "$index" || true)"
benchmark_json="$(readlink -m "$(find "${ARTIFACT_DIR}" -name benchmark.json | grep "$index" || true)")"
if [ -n "$benchmark_json" ]; then
echo "[$index] Gathering data from $benchmark_json"
jq_cmd="\"$((a + c))\" \
Expand Down

0 comments on commit bf4e757

Please sign in to comment.