First connection_pool test not passing


Im getting the following when error when i execute the first connection_pooling test
Can someone assist

1 Like

I think you mistake the test. It is db-connection TEST, not yet connection_pooling TEST.

I legit copy the name of the test from the readme and the test exist

Yes the test exists. But what @ TuanD means and I think he is right, is that it is too early in the course for you to try to run this test. If you are at Chapter 1: Driver Setup - Ticket: Connection the test your are supposed to run is indeed db-connection with

npm test -t db-connection

Once your cluster is created and your .env file modified.

As for the error you get by running the connection_pool test is simply because MoviesDAO,getConfiguration() does not return the correct type of object.

Thanks for the clarification