Skip to content

[Feature] Consolidate Retry/Wait Polling with Shared Helper #2748

Description

@EmmaYuan1015

Description:

Background
Smoke tests currently use mixed waiting patterns, including ad-hoc retry loops and scattered polling logic. This increases flakiness and makes timeout failures harder to diagnose in CI.

Problem

Duplicate wait/retry logic exists across smoke suites.
Timeout failure messages are inconsistent and often miss actionable context.
Some tests rely on temporary/manual polling loops, which are harder to maintain and debug.

Goal

Consolidate smoke waiting/polling logic into reusable helpers.
Standardize timeout error messages with clear diagnostics.
Reduce flaky failures and lower troubleshooting cost.

Scope

Introduce/extend shared wait helper usage in smoke tests (starting with debug configuration flow).
Replace temporary retry loops with helper-based polling.
Centralize related timeout values in timeout constants.
Ensure timeout errors include:
operation/scenario
expected condition
last observed actual value
timeout and polling interval

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions