mongodb/mongo-php-driver — pull request #709 by jmikola (2014-05-28 20:18:11+00:00)
Title: Split PHP-1085 tests for socketTimeoutMS via MongoClient and methods

Replaced previous assertions so that we now expect boolean `false` to be returned (not just a boolean). I added actual JavaScript delays for update/remove queries so that we definitely hit the timeout. For insert, I had no other option but to increase the amount of data written to 4MB, which should case sufficient delay.

I also separated tests for specifying `socketTimeoutMS` via MongoClient and at the method level, as I noticed slight differences when I was modifying and running the original test.

Lastly, I removed to hack around allowing a drop command to fail. We no longer allow that to fail at all, which should make the test more consistent.