[SERVER-46868] Wait for exhaust stream to finish closing before asserting in exhaust isMaster integration tests Created: 13/Mar/20 Updated: 29/Oct/23 Resolved: 24/Mar/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | 4.5 Required, 4.4.0 |
| Fix Version/s: | 4.4.0-rc0, 4.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jason Chan | Assignee: | Jason Chan |
| 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
|
||||||||
| Sprint: | Repl 2020-03-23, Repl 2020-04-06 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 20 | ||||||||
| Description |
|
The ASSERT here fails because the status returned is OK when we expect it not to be. Since this failure happens very rarely, I believe it might be because there can be a delay where the exhaust stream is not closed yet. We might have to add some 'waitFor' function to keep checking to make sure the exhaust connection gets closed eventually. |
| Comments |
| Comment by Githook User [ 26/Mar/20 ] |
|
Author: {'email': 'jason.chan@10gen.com', 'name': 'Jason Chan', 'username': 'jasonjhchan'}Message: (cherry picked from commit 35c0048f8b01429526de0cabbe34d9c8dddf9f43) |
| Comment by Githook User [ 24/Mar/20 ] |
|
Author: {'name': 'Jason Chan', 'username': 'jasonjhchan', 'email': 'jason.chan@10gen.com'}Message: |