Skip to content

Commit fb5604b

Browse files
committed
syz-cluster: use correct failed session step status
It is the session steps with the "error" status that must be counted.
1 parent 7951290 commit fb5604b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syz-cluster/pkg/db/stats_repo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func (repo *StatsRepository) SessionStatusPerWeek(ctx context.Context) (
6767
SQL: `WITH SessionTestAggregates AS (
6868
SELECT
6969
SessionID,
70-
COUNTIF(Result = 'failed') > 0 AS HasFailedSteps,
70+
COUNTIF(Result = 'error') > 0 AS HasFailedSteps,
7171
COUNTIF(Result = 'skipped') > 0 AS HasSkippedSteps
7272
FROM SessionTests
7373
GROUP BY SessionID

0 commit comments

Comments
 (0)