ClusterToClusterReplication hook can error if no tests were run

XMLWordPrintableJSON

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

      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
            Reporter:
            Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: