Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly assert that release was created in feature test #2160

Merged
merged 1 commit into from
Jun 20, 2024
Merged

Properly assert that release was created in feature test #2160

merged 1 commit into from
Jun 20, 2024

Conversation

G-Rath
Copy link
Contributor

@G-Rath G-Rath commented Jun 18, 2024

Summary

Follow up to #2155 (comment) and #2155 (comment)

I've gone with expecting the year, month, day as for that to fail there'd need to be a 24 hour delay between steps which'd be a whole problem of its own - it might be possible that if you run the suite at midnight in a particular timezone it could also fail, but if so that should only be a ~30 second window of possibility...

Short checklist

  • Did you run bundle exec rubocop -a to fix linter issues?
  • If relevant, did you create a test?
  • Did you confirm that the RSpec tests pass?

Other Information

This is branched off #2159

@mattbrictson
Copy link
Member

@G-Rath looks good, thanks! 🙇 It would be great to avoid the flakiness around midnight, but I can't think of a way to do that without adding a significant amount of complexity. As it stands, the flake scenario should very rarely happen.

@G-Rath G-Rath marked this pull request as ready for review June 20, 2024 23:44
@mattbrictson
Copy link
Member

@G-Rath wow, you're quick! Thanks for the rebase

@mattbrictson mattbrictson added the 🏠 Housekeeping Non-user facing cleanup and maintenance label Jun 20, 2024
Copy link
Member

@mattbrictson mattbrictson left a comment

Choose a reason for hiding this comment

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

Nice! ✨

@mattbrictson mattbrictson changed the title test: actually assert that release was created Properly assert that release was created in feature test Jun 20, 2024
@mattbrictson mattbrictson merged commit 96769a2 into capistrano:master Jun 20, 2024
16 checks passed
@G-Rath G-Rath deleted the fix-assertion branch June 20, 2024 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏠 Housekeeping Non-user facing cleanup and maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants