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

CheckMetadataConsistency hook is not compatible with asio_transport_layer_integration_test

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 7.0.0, 8.0.0
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL
    • CAR Team 2024-09-30
    • 0

      CheckMetadataConsistency hook relies on the discovery topology - which uses isMaster behind the scenes - to asses if the fixture cluster is sharded.

      In the `asio_transport_layer_integration_test.cpp` unit test, a failpoint is enabled that causes `isMaster` command to fail during a specific window of time. If the checkMetadataConsistency is run between that windows of time, the test will fail.

      Similar to SERVER-81340, the goal of this ticket is to skip running the CheckMetadataConsistency hook in the specific test `asio_transport_layer_integration_test.cpp` within the integration_tests_sharded suite.

       

            Assignee:
            pol.pinol@mongodb.com Pol Pinol
            Reporter:
            pol.pinol@mongodb.com Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: