doctrine / mongodb-odm

The Official PHP MongoDB ORM/ODM
https://www.doctrine-project.org/projects/doctrine-mongodb-odm/en/latest/
MIT License
1.09k stars 501 forks source link

Update tests to use multiple server topologies #1876

Open alcaeus opened 5 years ago

alcaeus commented 5 years ago

Similar to https://github.com/mongodb/mongo-php-library/pull/574, we should not only test a single topology (in our case, a sharded cluster) but multiple ones. This would also allow running tests in an environment requiring SSL and ensuring that we pass configuration options correctly.

alcaeus commented 4 years ago

Testing against replica sets was added in https://github.com/doctrine/mongodb-odm/pull/2060. No tests against servers with SSL enabled have been added so far.