[SERVER-63646] _raise_if_unsafe_exit uses wrong return_code Created: 14/Feb/22 Updated: 29/Oct/23 Resolved: 15/Feb/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 5.3.0, 5.0.7 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Richard Samuels (Inactive) | Assignee: | Richard Samuels (Inactive) |
| 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: |
v5.0
|
||||||||
| Sprint: | STM 2022-02-21 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 18 | ||||||||
| Story Points: | 0 | ||||||||
| Description |
|
This method takes in return_code, but it's only used while generating the message. This comparison uses self.return_code on L273, but the error code uses the return_code parameter on L275. |
| Comments |
| Comment by Githook User [ 15/Feb/22 ] |
|
Author: {'name': 'Richard Samuels', 'email': 'richard.l.samuels@gmail.com', 'username': 'richardsamuels'}Message: (cherry picked from commit 4931ea397a8119b28309c4fbe3604079e840717b) |
| Comment by Githook User [ 15/Feb/22 ] |
|
Author: {'name': 'Richard Samuels', 'email': 'richard.l.samuels@gmail.com', 'username': 'richardsamuels'}Message: |