[JAVA-5131] Enable more test suites to run against Serverless Created: 01/Sep/23  Updated: 05/Sep/23

Status: Backlog
Project: Java Driver
Component/s: Serverless, Test Coverage
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Unknown
Reporter: Jeffrey Yemin Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Quarter: FY24Q3
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

Manual inspection reveals that the following required test suites are not being run in the Serverless variant, but according to spec should be.

  • Queryable Encryption (with crypt_shared)
  • Load Balancer


 Comments   
Comment by Jeffrey Yemin [ 01/Sep/23 ]

Results of investigation:

  • Queryable Encryption: run-serverless-tests.sh doesn't define any of the system properties required to run these tests, so they are skipped
  • Load Balancer: run-serverless-tests.sh doesn't define the "org.mongodb.test.multi.mongos.uri" system property, which causes the tests to be skipped

These could be addressed by either:

  • Duplicating the logic from run-tests.sh in run-serverless-tests.sh
  • Have the serverless variant just execute run-tests.sh (not sure why that wasn't done in the first place)
Generated at Thu Feb 08 09:03:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.