[CDRIVER-3917] Implement evergreen testing for versioned API Created: 03/Mar/21  Updated: 03/Jun/21  Resolved: 13/Apr/21

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.18.0, 1.18.0-alpha2

Type: Task Priority: Major - P3
Reporter: Samantha Ritter (Inactive) Assignee: Benji Rewis (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CDRIVER-3821 Versioned MongoDB API for Drivers Closed
Epic Link: Versioned MongoDB API for Drivers

 Comments   
Comment by Githook User [ 03/Jun/21 ]

Author:

{'name': 'Andreas Braun', 'email': 'alcaeus@users.noreply.github.com', 'username': 'alcaeus'}

Message: CDRIVER-3954 Run all integration tests in Versioned API evergreen tests (#787)

  • CDRIVER-3917 route all test client and client_pool creation through the test framework
  • small fixes
  • add missing include
  • rename pool method to match client method
  • Refactor test framework client factories to accept API version
  • Revert change in mongoc-cache.c

Despite the #include, the linker does not like this:
tests/test-mongoc-cache.c.o: In function `ping':
src/libmongoc/tests/test-mongoc-cache.c:45: undefined reference to `test_framework_client_new'

  • Run all tests with requireApiVersion=true
  • Fix large_ismaster test
  • Don't set server api when client can't be created
  • Don't use test clients in tests specifically testing server API behaviour
  • Print default API version in test output
  • Set requireApiVersion option earlier
  • Consider apiVersion field when assembling large bulk operation
  • Fix wrong comment wording

Co-authored-by: Benjamin Rewis <32186188+benjirewis@users.noreply.github.com>

  • Fix inaccurate variable name
  • Remove obsolete todo
  • Document MONGODB_API_VERSION environment variable in contributing docs
  • Document new test methods
  • Fix tests with acceptApiVersion2
  • Update newly added test

Co-authored-by: samantharitter <samantha.ritter@10gen.com>
Co-authored-by: Benjamin Rewis <32186188+benjirewis@users.noreply.github.com>
Branch: r1.18
https://github.com/mongodb/mongo-c-driver/commit/58b5849c11f3778bd047ee4e62ac28d8ae63c87a

Comment by Githook User [ 03/Jun/21 ]

Author:

{'name': 'Benjamin Rewis', 'email': '32186188+benjirewis@users.noreply.github.com', 'username': 'benjirewis'}

Message: CDRIVER-3917 Run versioned API tests in Evergreen (#773)
Branch: r1.18
https://github.com/mongodb/mongo-c-driver/commit/734b5c0ae3761e305d781e721f91277fbb6b32e7

Comment by Githook User [ 10/May/21 ]

Author:

{'name': 'Andreas Braun', 'email': 'alcaeus@users.noreply.github.com', 'username': 'alcaeus'}

Message: CDRIVER-3954 Run all integration tests in Versioned API evergreen tests (#787)

  • CDRIVER-3917 route all test client and client_pool creation through the test framework
  • small fixes
  • add missing include
  • rename pool method to match client method
  • Refactor test framework client factories to accept API version
  • Revert change in mongoc-cache.c

Despite the #include, the linker does not like this:
tests/test-mongoc-cache.c.o: In function `ping':
src/libmongoc/tests/test-mongoc-cache.c:45: undefined reference to `test_framework_client_new'

  • Run all tests with requireApiVersion=true
  • Fix large_ismaster test
  • Don't set server api when client can't be created
  • Don't use test clients in tests specifically testing server API behaviour
  • Print default API version in test output
  • Set requireApiVersion option earlier
  • Consider apiVersion field when assembling large bulk operation
  • Fix wrong comment wording

Co-authored-by: Benjamin Rewis <32186188+benjirewis@users.noreply.github.com>

  • Fix inaccurate variable name
  • Remove obsolete todo
  • Document MONGODB_API_VERSION environment variable in contributing docs
  • Document new test methods
  • Fix tests with acceptApiVersion2
  • Update newly added test

Co-authored-by: samantharitter <samantha.ritter@10gen.com>
Co-authored-by: Benjamin Rewis <32186188+benjirewis@users.noreply.github.com>
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/3e9adec1a8baf388ac5732ad57ce0ef7acd8e5fe

Comment by Githook User [ 12/Apr/21 ]

Author:

{'name': 'Benjamin Rewis', 'email': '32186188+benjirewis@users.noreply.github.com', 'username': 'benjirewis'}

Message: CDRIVER-3917 Run versioned API tests in Evergreen (#773)
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/5b91fb983fc5badf38e2debeb4ce6c231b73605b

Comment by Benji Rewis (Inactive) [ 31/Mar/21 ]

https://github.com/mongodb/mongo-c-driver/pull/773

Generated at Wed Feb 07 21:19:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.