Chapter 5: Ticket Connection Pooling

Hey,

Having some issues with getting the integration test to pass on the status page but the unit test passes.

my current MongoURI code in appsetting.json is:

mongodb+srv://m001-student:Password@mflix.nhpic.mongodb.net/myFirstDatabase?retryWrites=true&w=majority&maxPoolSize=50&connectionTimeoutMS=2500

Thanks Calum.

added the the maxPoolSize and ConnectionTimeoutMS to the URI in the repositoryExtension.cs and the passed.

1 Like