Actions
Patch #36716
closedIssuesControllerTest randomly fails
Description
Hi
Please find below a patch to fix this test, which randomly fail when running in parallel:
+++ /test/functional/issues_controller_test.rb
@@ -7884,7 +7884,7 @@ class IssuesControllerTest < Redmine::ControllerTest
end
copy = Issue.order(:id => :desc).first
assert_equal 2, copy.watchers.count
- assert_equal [3, 10], copy.watcher_user_ids
+ assert_equal [3, 10], copy.watcher_user_ids.sort
end
Thank you
Updated by Go MAEDA almost 3 years ago
- Subject changed from Avoid tests to randomly fail when running in parallel to IssuesControllerTest randomly fails
- Category set to Code cleanup/refactoring
- Status changed from New to Closed
- Assignee set to Go MAEDA
- Target version set to 5.0.0
Committed the patch. Thank you.
Actions