Skip to content

Commit 0c81278

Browse files
committed
Raise soak query latency threshold to 60s (MSYS2 overhead)
1 parent de2b55b commit 0c81278

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/soak-test.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,8 +437,9 @@ fi
437437
MAX_LATENCY=$(awk -F, 'NR>1 && $2!="index_repository" { if ($3>max) max=$3 } END { print max+0 }' "$LATENCY_CSV")
438438
MAX_INDEX=$(awk -F, 'NR>1 && $2=="index_repository" { if ($3>max) max=$3 } END { print max+0 }' "$LATENCY_CSV")
439439
echo "Max query latency: ${MAX_LATENCY}ms (index: ${MAX_INDEX}ms)" | tee -a "$SUMMARY"
440-
if [ "${MAX_LATENCY:-0}" -gt 10000 ] 2>/dev/null; then
441-
echo "FAIL: max query latency ${MAX_LATENCY}ms > 10s" | tee -a "$SUMMARY"
440+
# 60s threshold — MSYS2/Wine adds significant overhead to all operations
441+
if [ "${MAX_LATENCY:-0}" -gt 60000 ] 2>/dev/null; then
442+
echo "FAIL: max query latency ${MAX_LATENCY}ms > 60s" | tee -a "$SUMMARY"
442443
PASS=false
443444
fi
444445

0 commit comments

Comments
 (0)