[JAVA-3955] Disable test that fails against pre MongoDB-3.2 sharded clusters backed by PSS replica sets Created: 21/Jan/21  Updated: 28/Oct/23  Resolved: 22/Jan/21

Status: Closed
Project: Java Driver
Component/s: Test Coverage
Affects Version/s: None
Fix Version/s: 4.2.1, 3.12.9

Type: Task Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Some tests in com.mongodb.internal.operation.AsyncQueryBatchCursorFunctionalSpecification are failing against a sharded cluster backed by PSS replica set shards (which are going to introduced soon in drivers-evergreen-tools).

I can reproduce this locally and I observe that in some cases a query is replied to with no data and also no cursorId. It looks to be related to the collection catalog, as the test repeatedly drops and re-creates the same collection, and if I run the tests in that class one at a time they pass.

I propose to disable these tests for pre-3.2 sharded clusters, rather than figure out the root cause. The rationale is that MongoDB 3.0 is no longer a supported server release, so it's not worth the effort.



 Comments   
Comment by Githook User [ 22/Apr/21 ]

Author:

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

Message: Disable test that fails against some pre-3.2 MongoDB sharded clusters

JAVA-3955
Branch: 3.12.x
https://github.com/mongodb/mongo-java-driver/commit/a3b9fa04bae8bc17d8f397df36eaa52edf034cc5

Comment by Githook User [ 22/Jan/21 ]

Author:

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

Message: Disable test that fails against some pre-3.2 MongoDB sharded clusters

JAVA-3955
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/8998d0f7dcbe1dbaa9e20e36f1dafc1e8d3ea23d

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