[JAVA-4232] Run CRUD tests on sharded clusters Created: 14/Jul/21  Updated: 28/Oct/23  Resolved: 15/Jul/21

Status: Closed
Project: Java Driver
Component/s: Test Coverage
Affects Version/s: None
Fix Version/s: 4.4.0

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


 Description   

The CRUD tests (v1 and v2, not unified) are being skipped on sharded clusters. We should re-enable them and if some are failing we should figure out why.



 Comments   
Comment by Githook User [ 15/Jul/21 ]

Author:

{'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Removed unnecessary killAllSessions and drop from v1 CRUD tests

  • The spec test README says nothing about killAllSessions. Not sure
    why it was there at all
  • The drop is unnecessary because the previous call to the create collection
    helper already drops the collection before creating it

JAVA-4232
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/e314b624ef1614a10c62d19d2d9197a6236ed767

Comment by Githook User [ 15/Jul/21 ]

Author:

{'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Remove unused import

JAVA-4232
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/009e5edb68678afdd396650a67597568fc0e1efc

Comment by Githook User [ 15/Jul/21 ]

Author:

{'name': 'jyemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Run CRUD spec tests on sharded clusters

JAVA-4232
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/75e99a35faf161b5688e0e41c97313642953dfdf

Generated at Thu Feb 08 09:01:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.