[GODRIVER-1891] Testing changes to reduce complexity of future matrix testing versions Created: 19/Feb/21  Updated: 28/Oct/23  Resolved: 02/Jun/21

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.6.0

Type: Task Priority: Major - P3
Reporter: Divjot Arora (Inactive) Assignee: Isabella Siu (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

There are some changes required to work with the drivers matrix testing infrastructure. For the Go implementation, we had to make these changes in each of the three branches being tested, which correspond to the 4.4, 4.2, and 4.0 server releases. We should also make these changes directly on the driver's master branch so we won't need to replicate them for each 5.0+ server release. Summary of changes:

  1. Add a ./evergreen/run-tests.sh script. See the 4.4-continuous-matrix-testing branch for an example.
  2. Fix our TLS Evergreen setup. We currently copy the CA/client key files from our data/certificates directory into drivers-evergreen-tools/.evergreen/x509gen before configuring the cluster. The drivers-matrix-testing project uses the CA/client files that are already present in that folder. We should do the same for our general tests. This also requires changing the X509 integration test in mongo/integration/client_test to use a different username.


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

Author:

{'name': 'Isabella Siu', 'email': 'isabella.siu@mongodb.com', 'username': 'iwysiu'}

Message: GODRIVER-1891 reduce complexity of future matrix testing (#669)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/71d30184285ab1fc2e576a6a7ae2ce1d0502db06

Comment by Githook User [ 14/May/21 ]

Author:

{'name': 'Isabella Siu', 'email': 'sakurablossom@blueblueworld.com', 'username': 'iwysiu'}

Message: GODRIVER-1891 add pkcs8 certs so the go driver can test with the DET certs (#148)
Branch: master
https://github.com/mongodb-labs/drivers-evergreen-tools/commit/f2cd477ac2aa417db346fd94b54e991651bdcb45

Comment by Divjot Arora (Inactive) [ 05/Mar/21 ]

benji.rewis Seems like the only use is in mongo/integration/client_test.go for the X509 integration test, which I plan to fix as part of this PR, so we can probably remove that directory in the scope of this ticket. Thanks for calling out that change!

 

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

Could we remove `data/certificates` once this work is done? Or, are there other internal uses?

Generated at Thu Feb 08 08:37:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.