• 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
..
Collection Loading commit data...
Database Loading commit data...
GridFS Loading commit data...
Model Loading commit data...
Operation Loading commit data...
ClientFunctionalTest.php Loading commit data...
ClientTest.php Loading commit data...
CommandObserver.php Loading commit data...
DocumentationExamplesTest.php Loading commit data...
FunctionalTestCase.php Loading commit data...
FunctionsTest.php Loading commit data...
PedantryTest.php Loading commit data...
TestCase.php Loading commit data...
bootstrap.php Loading commit data...