Skip to content

fix flaky standalone e2e by dropping "Exited App successfully" requirement#1605

Merged
JoshVanL merged 6 commits into
dapr:masterfrom
acroca:fix-flaky-e2e
Apr 20, 2026
Merged

fix flaky standalone e2e by dropping "Exited App successfully" requirement#1605
JoshVanL merged 6 commits into
dapr:masterfrom
acroca:fix-flaky-e2e

Conversation

@acroca

@acroca acroca commented Mar 6, 2026

Copy link
Copy Markdown
Member

An example of the flakiness here https://github.com/dapr/cli/actions/runs/22751141926/job/65985748435?pr=1604

Fix flaky standalone e2e tests by simplifying the exit-error check in executeAgainstRunningDapr.

Copilot AI 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.

Pull request overview

This PR aims to reduce flakiness in standalone E2E tests by simplifying the “clean exit” logic in executeAgainstRunningDapr, removing the requirement that output must contain Exited App successfully.

Changes:

  • Simplifies the cmd.Wait() error handling by dropping the hasAppCommand / Exited App successfully gating logic.
  • Updates exit-validation to instead rely on absence of an “App process exited with error…” message.
  • Removes the conditional assertion for Exited App successfully from the helper.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/e2e/standalone/utils.go Outdated
Comment thread tests/e2e/standalone/utils.go
Signed-off-by: Albert Callarisa <[email protected]>

Copilot AI 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.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/e2e/standalone/utils.go Outdated
Comment thread tests/e2e/standalone/utils.go
Comment thread tests/e2e/standalone/utils.go Outdated
Signed-off-by: Albert Callarisa <[email protected]>

Copilot AI 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.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/e2e/standalone/utils.go Outdated
Comment thread tests/e2e/standalone/utils.go Outdated
Signed-off-by: Albert Callarisa <[email protected]>

Copilot AI 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.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/e2e/standalone/utils.go
Signed-off-by: Albert Callarisa <[email protected]>

Copilot AI 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.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@acroca
acroca marked this pull request as ready for review March 6, 2026 13:01
@acroca
acroca requested review from a team as code owners March 6, 2026 13:01
@dapr-bot

dapr-bot commented Apr 5, 2026

Copy link
Copy Markdown
Collaborator

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@dapr-bot dapr-bot added the stale label Apr 5, 2026
@acroca acroca removed the stale label Apr 8, 2026
JoshVanL
JoshVanL previously approved these changes Apr 17, 2026
@JoshVanL

Copy link
Copy Markdown
Contributor

@acroca please fix conflicts

@acroca
acroca requested a review from JoshVanL April 20, 2026 12:43
@JoshVanL
JoshVanL merged commit 43b2e32 into dapr:master Apr 20, 2026
27 checks passed
@acroca
acroca deleted the fix-flaky-e2e branch April 20, 2026 13:57
@nelson-parente nelson-parente added this to the v1.18 milestone May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants