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

ClusterToClusterReplication hook can error if no tests were run

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Repl 2022-02-21

      The self._last_test variable is only set after a test was run. Therefore, if no test was run, when we use the variable to run checks at the end of a suite we will face a AttributeError: 'NoneType' object has no attribute 'logger' problem.

            Assignee:
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Reporter:
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: