Пример #1
0
 def test_unreachable(self):
     self.assert_message(
         messages.CorosyncNodeConflictCheckSkipped(
             const.REASON_UNREACHABLE),
         ("Unable to check if there is a conflict with nodes set in "
          "corosync because pcs is unable to connect to the node(s)"),
     )
Пример #2
0
 def test_not_live_cib(self):
     self.assert_message(
         messages.CorosyncNodeConflictCheckSkipped(
             const.REASON_NOT_LIVE_CIB),
         ("Unable to check if there is a conflict with nodes set in "
          "corosync because the command does not run on a live cluster "
          "(e.g. -f "
          "was used)"),
     )