Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28714,6 +28714,8 @@ components:
- `@git.branch`
- `@test.codeowners`
- `env`
- `failure_rate`
- `pipelines_failed`
example: 'flaky_test_state:active @git.repository.id_v2:"github.com/datadog/shopist"'
type: string
type: object
Expand Down Expand Up @@ -145105,7 +145107,7 @@ paths:
Set `include_history` to `true` in the request to receive the status change history for each test.
History is disabled by default for better performance.

Results support filtering by various facets including service, environment, repository, branch, and test state.
Results support filtering by various facets, including service, environment, repository, branch, test state, failure rate, and pipeline failures.
operationId: SearchFlakyTests
requestBody:
content:
Expand Down
2 changes: 1 addition & 1 deletion src/datadog_api_client/v2/api/test_optimization_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def search_flaky_tests(
Set ``include_history`` to ``true`` in the request to receive the status change history for each test.
History is disabled by default for better performance.

Results support filtering by various facets including service, environment, repository, branch, and test state.
Results support filtering by various facets, including service, environment, repository, branch, test state, failure rate, and pipeline failures.

:type body: FlakyTestsSearchRequest, optional
:rtype: FlakyTestsSearchResponse
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ def __init__(
* ``@git.branch``
* ``@test.codeowners``
* ``env``
* ``failure_rate``
* ``pipelines_failed``
:type query: str, optional
"""
if include_history is not unset:
Expand Down
Loading