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

mongotmock sets every node with a searchindexmanagementhost param

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration

      Historically we've been able to tell if the mock is running or not from server code via checking if the host params for the search index management host are not set. However, it has become clear that the mongot mock doesn't set every node with a searchIndexManagementHost param. Therefore we cannot rely on globalSearchIndexParams.host.empty() to filter out index commands from mock tests

       

      To correct this, the mongotmock + sharding test infrastructure will need to make sure that option to launch a search index management host

            Assignee:
            Unassigned Unassigned
            Reporter:
            maddie.zechar@mongodb.com Maddie Zechar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: