[SERVER-47877] Some replsets tests use arrayEq without assert Created: 01/May/20 Updated: 29/Oct/23 Resolved: 06/May/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.2.8, 4.4.0-rc6, 4.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Matthew Russotto | Assignee: | Matthew Russotto |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Backport Requested: |
v4.4, v4.2
|
||||
| Participants: | |||||
| Description |
|
The Javascript arrayEq method is a predicate; it returns true or false. Some javascript tests in replsets use it as if it were an assert, where it doesn't do anything. |
| Comments |
| Comment by Githook User [ 01/Jun/20 ] |
|
Author: {'name': 'Matthew Russotto', 'email': 'matthew.russotto@10gen.com', 'username': 'mtrussotto'}Message: (cherry picked from commit ca9bd540c161f33fcfa271449b89afb80917f382) |
| Comment by Githook User [ 13/May/20 ] |
|
Author: {'name': 'Matthew Russotto', 'email': 'matthew.russotto@10gen.com', 'username': 'mtrussotto'}Message: (cherry picked from commit ca9bd540c161f33fcfa271449b89afb80917f382) |
| Comment by Githook User [ 06/May/20 ] |
|
Author: {'name': 'Matthew Russotto', 'email': 'matthew.russotto@10gen.com', 'username': 'mtrussotto'}Message: |
| Comment by Matthew Russotto [ 01/May/20 ] |
|
It looks like this issue was introduced in 4.2 |