Skip to content

Commit fd62c30

Browse files
committed
JAVA-2020: Ignore maxTimeMS getMore test for server versions that don't support it
1 parent 82ce607 commit fd62c30

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

driver-core/src/test/functional/com/mongodb/operation/QueryBatchCursorFunctionalSpecification.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ class QueryBatchCursorFunctionalSpecification extends OperationFunctionalSpecifi
248248
nextBatch.iterator().next().get('_id') == 2
249249
}
250250

251+
@IgnoreIf({ !serverVersionAtLeast([3, 2, 0]) })
251252
@Category(Slow)
252253
def 'test maxTimeMS'() {
253254
collectionHelper.create(collectionName, new CreateCollectionOptions().capped(true).sizeInBytes(1000))

0 commit comments

Comments
 (0)