Update exception whitelist 34/72434/1
authorSam Hague <shague@redhat.com>
Tue, 29 May 2018 14:47:21 +0000 (10:47 -0400)
committerSam Hague <shague@redhat.com>
Tue, 29 May 2018 14:47:21 +0000 (10:47 -0400)
Change-Id: Ib35fd44f130d53c55cf6bce635d97a9b54340c5f
Signed-off-by: Sam Hague <shague@redhat.com>
csit/libraries/netvirt/excepts.py

index f7897003c27ed59b7e6a5237c0ae33f9a9829290..26597fdf6be7c5a5fa80e3deb8c774c607bccf71 100644 (file)
@@ -229,9 +229,8 @@ def check_exceptions():
                     exwe_str = "__".join(_ts_list[exwe_index])
                     if whitelist_context in exwe_str:
                         num_context_matches += 1
-                        break
             # Mark this exception as a known issue if all the context's matched
-            if num_context_matches == len(whitelist_contexts):
+            if num_context_matches >= len(whitelist_contexts):
                 ex["issue"] = whitelist.get("issue")
                 _match.append(ex)
                 logging.info("known exception was seen: {}".format(ex["issue"]))