-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix flaky testing for
Minitst/MultipleAssertions
The shared `@cop` instance variable of `AssertOffense` module causes flaky tests due to state changes. The `AssertOffense` testing module needs to be updated to allow for tests that are independent in configuration between tests. It is necessary to prevent race conditions caused by shared configurations. This is a workaround to skip tests until the issue is resolved in `AssertOffense` module.
- Loading branch information
Showing
3 changed files
with
15 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,5 +84,3 @@ jobs: | |
bundler-cache: true | ||
- name: test | ||
run: bundle exec rake test | ||
env: | ||
ERROR_ON_TEST_FAILURE: "false" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters