Skip to content

Commit

Permalink
fix(testsuites): build execution filter properly (#6022)
Browse files Browse the repository at this point in the history
  • Loading branch information
rangoo94 authored Nov 13, 2024
1 parent 04915ce commit a2b13f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/app/api/deprecatedv1/testsuites.go
Original file line number Diff line number Diff line change
Expand Up @@ -624,8 +624,8 @@ func (s *DeprecatedTestkubeAPI) ListTestSuiteExecutionsHandler() fiber.Handler {
}
l.Debugw("got executions totals", "totals", executionsTotals, "time", time.Since(now))
filterAllTotals := *filter.(*testresult.FilterImpl)
filterAllTotals.WithPage(0).WithPageSize(math.MaxInt64)
allExecutionsTotals, err := s.DeprecatedRepositories.TestSuiteResults().GetExecutionsTotals(ctx, filterAllTotals)
filterAllTotals.WithPage(0).WithPageSize(math.MaxInt32)
allExecutionsTotals, err := s.DeprecatedRepositories.TestSuiteResults().GetExecutionsTotals(ctx, &filterAllTotals)
if err != nil {
return s.Error(c, http.StatusInternalServerError, fmt.Errorf("%s: client could not get all executions totals: %w", errPrefix, err))
}
Expand Down

0 comments on commit a2b13f3

Please sign in to comment.