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
Actions