Blame SOURCES/test-fix-an-occasional-multithread-test-fail.patch

15f218
From c4e916c7ae9f5bb040d8268f93d5949e1cd078f8 Mon Sep 17 00:00:00 2001
15f218
From: Tomas Jelinek <tojeline@redhat.com>
15f218
Date: Tue, 26 Jul 2016 10:17:34 +0200
15f218
Subject: [PATCH] test: fix an occasional multithread test fail
15f218
15f218
---
15f218
 pcs/test/test_utils.py | 5 ++++-
15f218
 1 file changed, 4 insertions(+), 1 deletion(-)
15f218
15f218
diff --git a/pcs/test/test_utils.py b/pcs/test/test_utils.py
15f218
index 192048e..43145fd 100644
15f218
--- a/pcs/test/test_utils.py
15f218
+++ b/pcs/test/test_utils.py
15f218
@@ -1806,7 +1806,10 @@ class RunParallelTest(unittest.TestCase):
15f218
             wait_seconds=.1
15f218
         )
15f218
 
15f218
-        self.assertEqual(log, ['first', 'second'])
15f218
+        self.assertEqual(
15f218
+            sorted(log),
15f218
+            sorted(['first', 'second'])
15f218
+        )
15f218
 
15f218
     def test_wait_for_slower_workers(self):
15f218
         log = []
15f218
-- 
15f218
1.8.3.1
15f218