[SERVER-48636] Increase assertEventDoesNotWakeCursor getMore timeout in only_wake_getmore_for_relevant_changes.js Created: 06/Jun/20 Updated: 29/Oct/23 Resolved: 09/Jun/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.0-rc9, 4.7.0, 4.0.25, 4.2.15 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Bernard Gorman | Assignee: | Bernard Gorman |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Backport Requested: |
v4.4, v4.2, v4.0
|
||||||||
| Sprint: | Query 2020-06-15 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 20 | ||||||||
| Description |
|
In only_wake_getmore_for_relevant_changes.js, a function called assertEventDoesNotWakeCursor is used to verify that a $changeStream getMore does not prematurely return if an unrelated change is written into the oplog. However, the getMore only waits for new data for 1 second, which makes this test sensitive to slow hosts. We should increase the duration of the getMores issued by assertEventDoesNotWakeCursor to perhaps 5 or 10 seconds. |
| Comments |
| Comment by Githook User [ 03/May/21 ] |
|
Author: {'name': 'Bernard Gorman', 'email': 'bernard.gorman@gmail.com', 'username': 'gormanb'}Message: (cherry picked from commit 697ec820c58a591e833bd1f3ca5e3155fb6babae) |
| Comment by Githook User [ 03/May/21 ] |
|
Author: {'name': 'Bernard Gorman', 'email': 'bernard.gorman@gmail.com', 'username': 'gormanb'}Message: (cherry picked from commit 697ec820c58a591e833bd1f3ca5e3155fb6babae) |
| Comment by Githook User [ 10/Jun/20 ] |
|
Author: {'name': 'Bernard Gorman', 'email': 'bernard.gorman@gmail.com', 'username': 'gormanb'}Message: (cherry picked from commit 697ec820c58a591e833bd1f3ca5e3155fb6babae) |
| Comment by Githook User [ 09/Jun/20 ] |
|
Author: {'name': 'Bernard Gorman', 'email': 'bernard.gorman@gmail.com', 'username': 'gormanb'}Message: |