[SERVER-26951] remove or improve replset9.js Created: 08/Nov/16  Updated: 05/Apr/17  Resolved: 19/Jan/17

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.4.2, 3.5.2

Type: Task Priority: Major - P3
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Backport Completed:
Sprint: Repl 2017-01-23
Participants:
Linked BF Score: 0

 Description   

We could clean up the test to fix the build failure, but we believe we might also have identical test coverage in an existing unit test. We should investigate if that is indeed the case and if so delete this test, otherwise we should fix the test.

— update —

replset9.js can be removed because the functionality it is testing is covered in a more controlled manner in initial_sync_update_missing_doc1.js and initial_sync_update_missing_doc2.js

https://github.com/mongodb/mongo/blob/master/jstests/replsets/replset9.js

https://github.com/mongodb/mongo/blob/master/jstests/replsets/initial_sync_update_missing_doc1.js

https://github.com/mongodb/mongo/blob/master/jstests/replsets/initial_sync_update_missing_doc2.js



 Comments   
Comment by Githook User [ 22/Jan/17 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-26951 removed replset9.js. initial_sync_update_missing_doc1.js and initial_sync_update_missing_doc2.js provide the same test coverage

(cherry picked from commit 602ab3238ef37f83ac2847c980eb2e4ce72fd3ed)
Branch: v3.4
https://github.com/mongodb/mongo/commit/da6b572a469a19848f0357a4a7a6a15d989938b5

Comment by Githook User [ 19/Jan/17 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-26951 removed replset9.js. initial_sync_update_missing_doc1.js and initial_sync_update_missing_doc2.js provide the same test coverage
Branch: master
https://github.com/mongodb/mongo/commit/602ab3238ef37f83ac2847c980eb2e4ce72fd3ed

Generated at Thu Feb 08 04:13:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.