Skip to content

Aggregate failures for flakey mailer specs#7251

Merged
aduth merged 1 commit intomainfrom
aduth-aggregate-failures-flake-mail-spec
Oct 31, 2022
Merged

Aggregate failures for flakey mailer specs#7251
aduth merged 1 commit intomainfrom
aduth-aggregate-failures-flake-mail-spec

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Oct 28, 2022

🛠 Summary of changes

Implements RSpec failure aggregation to run all assertions against expected email message before failing.

There are some flakey mailer specs (example) which are difficult to debug currently since it fails at the first assertion. It's hypothesized that the emails may be sent out of order, and it'd be helpful to have a fuller picture of the actual and expected results.

Easiest to review with whitespace hidden: https://github.com/18F/identity-idp/pull/7251/files?w=1

📜 Testing Plan

  • rspec

Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

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

LGTM! seems worthwhile

@aduth aduth merged commit 263e458 into main Oct 31, 2022
@aduth aduth deleted the aduth-aggregate-failures-flake-mail-spec branch October 31, 2022 18:14
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