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

AO3-6703 Fix that some tests didn't run due to exit call in rake task #4780

Merged
merged 2 commits into from
Apr 4, 2024

Conversation

Bilka2
Copy link
Contributor

@Bilka2 Bilka2 commented Apr 3, 2024

Issue

https://otwarchive.atlassian.net/browse/AO3-6703

Purpose

In the search:index_tags test, rescue the SystemExit exception raised by the exit call in the rake task, so that RSpec doesn't exit early.

Testing Instructions

The issue is in automated testing, no manual QA needed.

The early exit caused a failed test on master in spec/lib/i18n to not get reported by GitHub Actions. It should get reported now, so the RSpec test should fail on this PR. No other test should fail. The i18n test itself is fixed in #4779.

Credit

Bilka (he/him)

@Bilka2 Bilka2 changed the title AO3-6703 Fix that some tests didn't run due to exit AO3-6703 Fix that some tests didn't run due to exit call in rake task Apr 3, 2024
@github-actions github-actions bot added Scope: Tests Only Only changes automated tests or test configuration Awaiting Review labels Apr 3, 2024
@brianjaustin brianjaustin merged commit 321fee4 into otwcode:master Apr 4, 2024
25 of 26 checks passed
@Bilka2 Bilka2 deleted the AO3-6703-rake-task-test-exit branch April 4, 2024 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Review Scope: Tests Only Only changes automated tests or test configuration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants