From b5ababdc15612f096f8dae7707244bfb53951f1e Mon Sep 17 00:00:00 2001 From: iglocska Date: Fri, 5 Aug 2022 14:48:28 +0200 Subject: [PATCH] chg: [tests] added sleep to publishing --- tests/testlive_security.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/testlive_security.py b/tests/testlive_security.py index d51b2828e..638c636b3 100644 --- a/tests/testlive_security.py +++ b/tests/testlive_security.py @@ -1253,6 +1253,7 @@ class TestSecurity(unittest.TestCase): # Publish self.assertSuccessfulResponse(self.admin_misp_connector.publish(created_event)) + sleep(6); # Event is published, so normal user should see that event self.assertTrue(logged_in.event_exists(created_event.uuid))