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

Fix Windows build failures on AppVeyor

    XMLWordPrintable

    Details

    • Type: Epic
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0, 1.6.0alpha2
    • Labels:
      None
    • Epic Name:
      AppVeyor Failures

      Description

      =====================================================================
      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]
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: