[SERVER-25919] Rewrite NetworkInterfaceASIO stress test Created: 31/Aug/16 Updated: 21/Nov/16 Resolved: 02/Sep/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Networking |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.11, 3.3.14 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Samantha Ritter (Inactive) | Assignee: | Matt Cotter |
| Resolution: | Done | Votes: | 1 |
| Labels: | test-only | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Backport Completed: | |||||
| Sprint: | Platforms 2016-09-19 | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
The current stress test relies on inefficient primitives that cause contention in the test. We should re-host the test on top of a framework that does the following, rather than using Deferred:
Then, the main thread can go through the array of results and assert that each result is as expected. This should reduce flakiness in the test, in particular tasks that exceed the time limit because of contention in Deferred. |
| Comments |
| Comment by Githook User [ 05/Oct/16 ] |
|
Author: {u'username': u'Machyne', u'name': u'Matt Cotter', u'email': u'matt.cotter@mongodb.com'}Message: |
| Comment by Githook User [ 05/Oct/16 ] |
|
Author: {u'username': u'Machyne', u'name': u'Matt Cotter', u'email': u'matt.cotter@mongodb.com'}Message: |
| Comment by Githook User [ 05/Oct/16 ] |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: Revert " This reverts commit 15bdad6f352cbc23cef3338fd57d61ac00cc6149. |
| Comment by Githook User [ 05/Oct/16 ] |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: Revert " This reverts commit b114c68f6c5b8c386974922b1f4aff3bc06d9976. |
| Comment by Githook User [ 04/Oct/16 ] |
|
Author: {u'username': u'Machyne', u'name': u'Matt Cotter', u'email': u'matt.cotter@mongodb.com'}Message: (cherry picked from commit bb4ab61013c56be2d1a036b6e90a60209b3ca974) |
| Comment by Githook User [ 04/Oct/16 ] |
|
Author: {u'username': u'Machyne', u'name': u'Matt Cotter', u'email': u'matt.cotter@mongodb.com'}Message: The old test introduced a thread pool and deffered objects in the test (cherry picked from commit 9dd6ba84b674356bf9a31ce416a383c8d559fcbd) |
| Comment by Githook User [ 13/Sep/16 ] |
|
Author: {u'username': u'Machyne', u'name': u'Matt Cotter', u'email': u'matt.cotter@mongodb.com'}Message: |
| Comment by Githook User [ 02/Sep/16 ] |
|
Author: {u'username': u'Machyne', u'name': u'Matt Cotter', u'email': u'matt.cotter@mongodb.com'}Message: The old test introduced a thread pool and deffered objects in the test |