Sitelet https://github.com/googleapis/google-cloud-java/pull/14183
Skip to content

test(datalabeling): configure retries and 24h resource cleanup in ITSystemTest - #14183

Closed
lqiu96 wants to merge 3 commits into
mainfrom
fix_issue_14176_investigation
Closed

test(datalabeling): configure retries and 24h resource cleanup in ITSystemTest#14183
lqiu96 wants to merge 3 commits into
mainfrom
fix_issue_14176_investigation

Conversation

@lqiu96

@lqiu96 lqiu96 commented Aug 25, 2026

Copy link
Copy Markdown
Member

Configures custom GAX RetrySettings for UNAVAILABLE and DEADLINE_EXCEEDED on create operations in ITSystemTest to prevent flaky 502 Bad Gateway failures. Adds 24-hour stale resource sweep and unique timestamped display names to prevent leaking test resources across retries and crashed runs.

Fixes #14176

…ystemTest

Configures custom GAX RetrySettings for UNAVAILABLE and DEADLINE_EXCEEDED on
create operations in ITSystemTest to prevent flaky 502 Bad Gateway failures.
Adds 24-hour stale resource sweep and unique timestamped display names to
prevent leaking test resources across retries and crashed runs.

Fixes #14176

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request enhances the integration tests in ITSystemTest.java by adding custom retry settings with backoff for non-idempotent resource creation RPCs, which helps mitigate transient backend errors. It also introduces unique run identifiers and robust cleanup methods to sweep and delete stale datasets and annotation spec sets older than 24 hours from both current and previous test runs. There are no review comments, and I have no feedback to provide.

@lqiu96 lqiu96 closed this Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Data Labeling API - 502 Flaky (Bad Gateway)

1 participant