Skip to content

Commit a1f8a78

Browse files
committed
Set the threshold to 1k.
1 parent 0fb32f1 commit a1f8a78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.azure/pipelines/components-e2e-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
# Check total tests run to detect abnormalities. In case the number of tests changes significantly, we should adjust the threshold.
8282
# Extract total from the summary line "Failed: xx, Passed: yy, Skipped: zz, Total: NNN, Duration: ..."
8383
total=$(sed -nE 's/.*Failed:[[:space:]]*[0-9]+,[[:space:]]*Passed:[[:space:]]*[0-9]+,[[:space:]]*Skipped:[[:space:]]*[0-9]+,[[:space:]]*Total:[[:space:]]*([0-9]+).*/\1/p' e2e-test-output.log)
84-
min_total=2000
84+
min_total=1000
8585
if [ -z "$total" ] || [ "$total" -lt "$min_total" ]
8686
then
8787
echo "##vso[task.logissue type=error] Insufficient total test count: $total. We expect at least $min_total tests to run."

0 commit comments

Comments
 (0)