Skip to content

fix(e2e): wait for PhaseReady before accessing master pod#516

Merged
Abhra303 merged 1 commit intodragonflydb:mainfrom
mvasilenko:fix/dragonfly-operator-e2e-single-replica-race
Apr 9, 2026
Merged

fix(e2e): wait for PhaseReady before accessing master pod#516
Abhra303 merged 1 commit intodragonflydb:mainfrom
mvasilenko:fix/dragonfly-operator-e2e-single-replica-race

Conversation

@mvasilenko
Copy link
Copy Markdown
Contributor

Single-replica tests waited on PhaseResourcesCreated, which is set before the lifecycle controller runs configureReplication and labels the master pod, racing checkAndK8sPortForwardRedis with master election and intermittently failing with "no master pod found".

Single-replica tests waited on PhaseResourcesCreated, which is set
before the lifecycle controller runs configureReplication and labels
the master pod, racing checkAndK8sPortForwardRedis with master election
and intermittently failing with "no master pod found".
Copy link
Copy Markdown
Contributor

@Abhra303 Abhra303 left a comment

Choose a reason for hiding this comment

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

LGTM, Thanks for the fix! 🚀

@Abhra303 Abhra303 merged commit fd94838 into dragonflydb:main Apr 9, 2026
2 checks passed
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