[SERVER-34614] parallelTester should use a different connection for each new test Created: 23/Apr/18 Updated: 29/Oct/23 Resolved: 09/May/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 3.4.17, 3.6.8, 4.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Charlie Swanson | Assignee: | David Bradford (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 | ||||||||||||||||
| Backport Requested: |
v3.6, v3.4
|
||||||||||||||||
| Sprint: | TIG 2018-05-21 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||
| Story Points: | 2 | ||||||||||||||||
| Description |
|
Because each test uses the same connection, tests can share a set of authenticated users, and can interfere with the state of getLastError. Each new test should get its own connection. |
| Comments |
| Comment by Githook User [ 24/Aug/18 ] |
|
Author: {'name': 'David Bradford', 'email': 'david.bradford@mongodb.com', 'username': 'dbradf'}Message: (cherry picked from commit 7e4f6276ec553354e2b88a209e3000ea7f729513) |
| Comment by Githook User [ 17/Aug/18 ] |
|
Author: {'name': 'David Bradford', 'email': 'david.bradford@mongodb.com', 'username': 'dbradf'}Message: (cherry picked from commit 7e4f6276ec553354e2b88a209e3000ea7f729513) |
| Comment by Spencer Jackson [ 15/Aug/18 ] |
|
I'm requesting backport of this ticket to 4.0 and 3.6. We've recently disabled db.eval in parallel tests on older branches. That and this patch is expected to reduce occurrences of BF-6259. |
| Comment by Githook User [ 09/May/18 ] |
|
Author: {'email': 'david.bradford@mongodb.com', 'name': 'David Bradford', 'username': 'dbradf'}Message: |