Cannot set pool size

I am running a local MongoDB instance (not Atlas) and the connection code is as follows:
connection

And the test is failing

From the error message ‘IndexError’ it appears the error is related to authentication.

Hello Ryan_Dsouza_01520,

Thanks for the note! I think steevej-1495 might be onto something - do you have the correct users created?

Also, make sure the local mongod instance is running when you run the unit test.

Matt