[SERVER-53243] TenantMigrationRecipientServiceTest-OplogApplierFails should pass resumeToken to oplogFetcher Created: 04/Dec/20  Updated: 29/Oct/23  Resolved: 05/Dec/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Bug Priority: Major - P3
Reporter: Lingzhi Deng Assignee: Lingzhi Deng
Resolution: Fixed Votes: 0
Labels: pm-1791_milestone-B
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Duplicate
is duplicated by SERVER-53244 TenantOplogApplierTest must pass a re... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2020-12-14
Participants:
Linked BF Score: 0

 Description   

It looks like the test is not testing what it wants to test. This test is meant to test the case where the oplog applier is applying an entry doesn't belong to the tenant. But we don't pass in a resumeToken to the oplogFetcher, which makes the oplog fetcher also fail. So this effectively is testing oplog fetcher failures, not oplog applier failures.



 Comments   
Comment by Githook User [ 04/Dec/20 ]

Author:

{'name': 'Lingzhi Deng', 'email': 'lingzhi.deng@mongodb.com', 'username': 'ldennis'}

Message: SERVER-53243: TenantMigrationRecipientServiceTest-OplogApplierFails should pass resumeToken to oplogFetcher
Branch: master
https://github.com/mongodb/mongo/commit/f0fdfbbc3f5c0a3f3596790d096fe26dd678a63f

Generated at Thu Feb 08 05:30:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.