[JAVA-3735] Speed up reactive GridFS test Created: 16/May/20  Updated: 28/Oct/23  Resolved: 22/May/20

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

Type: Improvement Priority: Minor - P4
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   

The test com.mongodb.reactivestreams.client.gridfs.GridFSPublisherSpecification#should round trip with small chunks creates over 50,000 small chunks. The test takes nearly 4 minutes on a replica set.

Let's reduce the number of chunks, by at least a factor of 10.



 Comments   
Comment by Githook User [ 22/May/20 ]

Author:

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

Message: Reduce number of chunks in reactive GridFS small chunks test

JAVA-3735
Branch: 4.0.x
https://github.com/mongodb/mongo-java-driver/commit/0a86284411b352566bc7e2b3d0122140bb1c5de7

Comment by Githook User [ 22/May/20 ]

Author:

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

Message: Reduce number of chunks in reactive GridFS small chunks test

JAVA-3735
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/c281375d3f2dfbfb3fd6e6d97ffea0aaebfd41e1

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