Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-1329

Fix Windows build failures on AppVeyor

    • Type: Icon: Epic Epic
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.6.0alpha2, 1.6.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Done
    • AppVeyor Failures

      =====================================================================
      FAILED TEST SUMMARY
      ---------------------------------------------------------------------
      MongoDB\BSON\toJSON(): Encoding JSON [C:\projects\mongo-php-driver\tests\bson\bson-toJSON-001.phpt]
      MongoDB\Driver\Query construction (invalid maxAwaitTimeMS range) [C:\projects\mongo-php-driver\tests\query\query-ctor_error-006.phpt]
      MongoDB\Driver\ReadPreference construction (invalid maxStalenessSeconds range) [C:\projects\mongo-php-driver\tests\readPreference\readpreference-ctor_error-004.phpt]
      

      TEST 1185/1747 [C:\projects\mongo-php-driver\tests\bson\bson-toJSON-001.phpt]
      ========DIFF========
      007+ { "nan" : -nan(ind) }
      007- { "nan" : nan }
      ========DONE========
      FAIL MongoDB\BSON\toJSON(): Encoding JSON [C:\projects\mongo-php-driver\tests\bson\bson-toJSON-001.phpt]
      
      TEST 1547/1747 [C:\projects\mongo-php-driver\tests\query\query-ctor_error-006.phpt]
      ========DIFF========
      001+ FAILED: Expected MongoDB\Driver\Exception\InvalidArgumentException thrown, but no exception thrown!
      002+ 
      001- OK: Got MongoDB\Driver\Exception\InvalidArgumentException
      002- Expected "maxAwaitTimeMS" option to be <= 4294967295, 4294967296 given
      ========DONE========
      FAIL MongoDB\Driver\Query construction (invalid maxAwaitTimeMS range) [C:\projects\mongo-php-driver\tests\query\query-ctor_error-006.phpt]
      
      TEST 1573/1747 [C:\projects\mongo-php-driver\tests\readPreference\readpreference-ctor_error-004.phpt]
      ========DIFF========
      002+ Expected maxStalenessSeconds to be >= 90, -2147483648 given
      002- Expected maxStalenessSeconds to be <= 2147483647, 2147483648 given
      ========DONE========
      FAIL MongoDB\Driver\ReadPreference construction (invalid maxStalenessSeconds range) [C:\projects\mongo-php-driver\tests\readPreference\readpreference-ctor_error-004.phpt]
      

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: