Skip to content

Conversation

@tillrohrmann
Copy link
Contributor

Add retryOnServiceUnavailable helper that uses Awaitility to retry admin API calls that fail with 503 Service Unavailable due to leadership changes in multi-node clusters.

Applied to:

  • PauseResumeTest: resumeInvocation
  • PauseResumeChangingDeploymentTest: resumeInvocation
  • RestartAsNewInvocationTest: restartAsNewInvocation (2 locations)

Fixes #401

Add retryOnServiceUnavailable helper that uses Awaitility to retry
admin API calls that fail with 503 Service Unavailable due to
leadership changes in multi-node clusters.

Applied to:
- PauseResumeTest: resumeInvocation
- PauseResumeChangingDeploymentTest: resumeInvocation
- RestartAsNewInvocationTest: restartAsNewInvocation (2 locations)

Fixes restatedev#401
@slinkydeveloper slinkydeveloper merged commit ff705e9 into restatedev:main Jan 14, 2026
3 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flaky threeNodes => PauseResumeTest => pauseAndResumeInvocation

2 participants