-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
The following tests started failing after upgrading libmongoc to 1.15-dev:
- tests/server/server-executeBulkWrite-004.phpt
- tests/server/server-executeBulkWrite-007.phpt
Both of these tests rightfully expect a RuntimeException with the message "not master". After the upgrade, no exception is thrown:
========DIFF======== 001+ FAILED: Expected MongoDB\Driver\Exception\RuntimeException thrown, but no exception thrown! 002+ 003+ FAILED: Expected MongoDB\Driver\Exception\RuntimeException thrown, but no exception thrown! 004+ 005+ FAILED: Expected MongoDB\Driver\Exception\RuntimeException thrown, but no exception thrown! 006+ 001- OK: Got MongoDB\Driver\Exception\RuntimeException 002- not master 003- OK: Got MongoDB\Driver\Exception\RuntimeException 004- not master 005- OK: Got MongoDB\Driver\Exception\RuntimeException 006- not master ========DONE========