[SERVER-42631] Blacklist tests that use Mongo.logout() from stepdown suites Created: 05/Aug/19 Updated: 29/Oct/23 Resolved: 22/Oct/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding, Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.17, 4.3.1, 4.2.3, 4.0.15 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jack Mulrow | Assignee: | Anton Oyung |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sharding-wfbf-day | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v4.2, v4.0, v3.6
|
||||||||
| Sprint: | Sharding 2019-10-21 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 4 | ||||||||
| Description |
|
Mongo.logout() doesn't go through runCommand(), which is where the stepdown suites catch and retry on stepdown errors. The stepdown suites aren't meant to test auth, so tests that call logout on a mongo object should be blacklisted from them. One way to do this is to override Mongo.logout() to throw in these suites (like what's done here) and add the tag requires_non_retryable_commands to any tests that use that method. |
| Comments |
| Comment by Githook User [ 08/Jan/20 ] |
|
Author: {'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}Message: (cherry picked from commit d33751abc223bc31a5145f4ffe745012abd978ec) |
| Comment by Githook User [ 08/Jan/20 ] |
|
Author: {'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}Message: (cherry picked from commit d33751abc223bc31a5145f4ffe745012abd978ec) |
| Comment by Githook User [ 08/Jan/20 ] |
|
Author: {'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}Message: (cherry picked from commit d33751abc223bc31a5145f4ffe745012abd978ec) |
| Comment by Githook User [ 22/Oct/19 ] |
|
Author: {'username': 'AntonOyung', 'email': 'anton.oyung@mongodb.com', 'name': 'Anton Oyung'}Message: |