60de42
From fc14818a01f544b552a1284155544b37c439dd13 Mon Sep 17 00:00:00 2001
60de42
From: Ken Gaillot <kgaillot@redhat.com>
60de42
Date: Fri, 24 Feb 2017 13:45:59 -0600
60de42
Subject: [PATCH] Test: CTS: update patterns for recent log message changes
60de42
60de42
---
60de42
 cts/CTStests.py | 2 +-
60de42
 cts/patterns.py | 2 +-
60de42
 2 files changed, 2 insertions(+), 2 deletions(-)
60de42
60de42
diff --git a/cts/CTStests.py b/cts/CTStests.py
60de42
index a48c54b..8e3e3fa 100644
60de42
--- a/cts/CTStests.py
60de42
+++ b/cts/CTStests.py
60de42
@@ -1824,7 +1824,7 @@ class Reattach(CTSTest):
60de42
     def errorstoignore(self):
60de42
         '''Return list of errors which should be ignored'''
60de42
         return [
60de42
-            r"resources were active at shutdown",
60de42
+            r"resource( was|s were) active at shutdown",
60de42
         ]
60de42
 
60de42
     def is_applicable(self):
60de42
diff --git a/cts/patterns.py b/cts/patterns.py
60de42
index 3f9ac6f..89492b4 100644
60de42
--- a/cts/patterns.py
60de42
+++ b/cts/patterns.py
60de42
@@ -255,7 +255,7 @@ class crm_cs_v0(BasePatterns):
60de42
         self.components["common-ignore"] = [
60de42
                     "Pending action:",
60de42
                     "error: crm_log_message_adv:",
60de42
-                    "resources were active at shutdown",
60de42
+                    r"resource( was|s were) active at shutdown",
60de42
                     "pending LRM operations at shutdown",
60de42
                     "Lost connection to the CIB service",
60de42
                     "Connection to the CIB terminated...",
60de42
-- 
60de42
1.8.3.1
60de42