Project

General

Profile

Actions

Patch #42572

closed

Fix random test failure in MemberTest#test_update_roles_with_inherited_roles due to non-deterministic ordering

Added by Go MAEDA 7 days ago. Updated 7 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

The attached patch fixes the following test failure that occurs randomly.

Failure:
MemberTest#test_update_roles_with_inherited_roles [test/unit/member_test.rb:78]:
Expected: [[1, 18], [1, 20], [2, 22]]
  Actual: [[1, 20], [2, 22], [1, 18]]

bin/rails test test/unit/member_test.rb:61

Files


Related issues

Related to Redmine - Defect #42106: Member roles are incorrectly added when a user's memberships are updatedClosedGo MAEDA

Actions
Actions #1

Updated by Go MAEDA 7 days ago

  • Related to Defect #42106: Member roles are incorrectly added when a user's memberships are updated added
Actions #2

Updated by Go MAEDA 7 days ago

  • Status changed from New to Resolved
  • Assignee set to Go MAEDA

Committed the fix in r23641.

Actions #3

Updated by Go MAEDA 7 days ago

  • Status changed from Resolved to Closed

Merged the fix into the stable branches in r23642 and r23643.

Actions

Also available in: Atom PDF