[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.
This change would also contribute parallel execution. 

Comment by Boris Dogadov [ 29/Sep/21 ]

Initial experiments did not result in noticeable timeouts improvements.
We should still consider moving to shared context instead of static data.

Generated at Wed Feb 07 21:46:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.