1. Apr 08, 2022
  2. Nov 05, 2021
  3. Nov 04, 2021
  4. Nov 03, 2021
  5. Oct 09, 2021
  6. Oct 06, 2021
  7. Sep 30, 2021
  8. Sep 21, 2021
  9. Sep 20, 2021
  10. Sep 15, 2021
  11. Sep 14, 2021
  12. Sep 13, 2021
  13. Sep 09, 2021
  14. Aug 18, 2021
  15. Aug 16, 2021
  16. Aug 12, 2021
    • Kevin Albertson's avatar
      CDRIVER-4062 test load balancer on evg (#837) · 932e7e48
      Kevin Albertson authored
      Add tasks to the Evergreen configuration based to test against a loadbalanced cluster.
      - Tests with auth+SSL and with no auth+SSL on both server version 5.0 and latest.
      - Runs tests against: new load balanced tests, all unified tests, retryable reads, retryable writes, change streams, and the C driver specific /loadbalanced/* tests.
      
      Update test-libmongoc to support testing against a load balancer.
      - Support the environment variable MONGOC_TEST_LOADBALANCED to enable testing against load balancers in test-libmongoc.
      Support the environment variables SINGLE_MONGOS_LB_URI, MULTI_MONGOS_LB_URI to set URIs for test clients.
      - Mock the serviceId when MONGOC_TEST_LOADBALANCED is true.
      - Support multiple occurrences of the -l flag in test-libmongoc and alias the flag as --match.
      - Remove unnecessary constraint of retryable writes tests for replica sets.
      
      CDRIVER-4060 add remaining support to the unified test runner for the new loadbalancer spec tests.
      - Iterate the first result of a FindCursor in the createFindCursor operation.
      - Support appname as a URI parameter.
      - Skip listening or comparing CMAP (Connection Monitoring and Pooling) events, since the C driver does not implement CMAP.
      932e7e48
  17. Aug 10, 2021
  18. Aug 06, 2021
  19. Aug 05, 2021
    • Jeremy Mikola's avatar
      CDRIVER-4110: Default for causal_consistency depends on snapshot (#838) · 230369cd
      Jeremy Mikola authored
      * Don't force casualConsistency=false when creating session with snapshot=true
      
      This was originally added in d5f73e18
      
      * Relocate session snapshot prose test
      
      This prose test is defined in the sessions spec, not transactions. It also does not require the server to support transactions.
      
      * Default for causal_consistency depends on snapshot
      
      Use mongoc_optional_t for causal_consistency and snapshot session opts to track whether or not values have been set.
      
      This also removes explicitly setting causal_consistency to true in _mongoc_client_session_new, since mongoc_session_opts_get_causal_consistency now enforces the default value.
      230369cd
  20. Aug 04, 2021
    • Andreas Braun's avatar
      Add missing features in unified test format (#820) · 08f95424
      Andreas Braun authored
      
      
      * CDRIVER-4066 "Support" version 1.2 of unified test format
      
      Since the only tests that are using the loop operation and storeEventsAsEntities are the drivers-atlas-testing tests, we can defer implementation of those two features until the atlas testing project.
      
      * CDRIVER-4060 Implement version 1.3 of unified test format
      
      Note that implementing the serverless topology check will be done separately
      
      * CDRIVER-4064 Support serverless runOnRequirement in test runner
      
      * Avoid early exit in complex check functions
      
      Co-authored-by: default avatarKevin Albertson <kevin.albertson@10gen.com>
      
      * Error when encountering unsupported functionality
      
      * Don't call result_check when ignoreResultAndError is used
      
      * Reference CMAP ticket
      
      * Don't require saveResultAsEntity for createFindCursor operation
      
      * Set return value after fetching data from cursor
      
      Co-authored-by: default avatarKevin Albertson <kevin.albertson@10gen.com>
      08f95424
    • vector-of-bool's avatar
      Fix: CDRIVER-4050: Set the correct uploadDate on GridFS files (#818) · c6b1ed09
      vector-of-bool authored
      * Fix: CDRIVER-4050: Set the correct uploadDate on GridFS files
      
      Previously used the time from bson_get_monotonic_time(), which is
      incorrect on most systems, as it is usually realtive to the system
      uptime and is stored as microseconds, whereas uploadDate should be
      stored as number of milliseconds since the Unix Epoch.
      
      * Propagate failure from bson_gettimeofday
      
      * Make get_real_time_ms a private API (for now)
      
      * Fix inverted error case and tests on file uploadDate
      
      * Fix test cases that check file uploadDate to use a more precise time
      
      * Fix integer overflow in _mongoc_get_real_time_ms on MSVC
      c6b1ed09
  21. Jul 31, 2021
  22. Jul 30, 2021
  23. Jul 27, 2021