Skip to content

api: Deflake the rollout put test - #253

Open
detsch wants to merge 1 commit into
foundriesio:mainfrom
detsch:deflake-rollout-put
Open

api: Deflake the rollout put test#253
detsch wants to merge 1 commit into
foundriesio:mainfrom
detsch:deflake-rollout-put

Conversation

@detsch

@detsch detsch commented Aug 28, 2026

Copy link
Copy Markdown
Member

TestApiRolloutPut slept a fixed 50ms for the async rollout commit before asserting the committed state, which is racy under load. Poll for the committed state with require.Eventually instead, matching the pattern already used by the rollout daemon and update tail tests.


Similar to 84d1590

TestApiRolloutPut slept a fixed 50ms for the async rollout commit before
asserting the committed state, which is racy under load. Poll for the
committed state with require.Eventually instead, matching the pattern
already used by the rollout daemon and update tail tests.

Signed-off-by: Andre Detsch <andre.detsch@foundries.io>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@detsch
detsch requested review from doanac and mike-scott August 28, 2026 21:06

@mike-scott mike-scott 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.

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.

2 participants