[CSHARP-3808] Tests timeouts: Experiment with XUnit shared context instead of static classes Created: 19/Aug/21 Updated: 31/Mar/22 |
|
| Status: | Backlog |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Unknown |
| Reporter: | Boris Dogadov | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Comments |
| Comment by Boris Dogadov [ 30/Sep/21 ] |
|
We could move towards using collections-fixture instead of static CoreTestConfiguration and DriverTestConfiguration. This improves the control over the lifetime of shared resources (mongoClient) and allows proper cleanup. |
| Comment by Boris Dogadov [ 29/Sep/21 ] |
|
Initial experiments did not result in noticeable timeouts improvements. |