Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-53243

TenantMigrationRecipientServiceTest-OplogApplierFails should pass resumeToken to oplogFetcher

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • Repl 2020-12-14
    • 0

      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.

            Assignee:
            lingzhi.deng@mongodb.com Lingzhi Deng
            Reporter:
            lingzhi.deng@mongodb.com Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: