• Jeremy Mikola's avatar
    Test that ChangeStream::next() resumes after dropped connection · 3a4e9202
    Jeremy Mikola authored
    The original intention of this test was to verify resumability in the event of a dropped connection; however, since socketTimeoutMS and maxAwaitTimeMS are fixed values, we cannot test a dropped connection followed by a successful resume. Instead, we will test that the driver attempts to resume once and only once before we expect a socket timeout after the second attempt.
    
    Note: ChangeStream::rewind() does not currently resume (see: PHPLIB-322)
    3a4e9202
Name
Last commit
Last update
docs Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
composer.json Loading commit data...
phpunit.xml.dist Loading commit data...