chg: [tests] added another sleep to wait for a publish

pull/8530/head
iglocska 2022-08-05 15:22:52 +02:00
parent d7d0de5b35
commit 98878c39c8
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 1 deletions

View File

@ -804,7 +804,7 @@ class TestComprehensive(unittest.TestCase):
check_response(event)
self.admin_misp_connector.publish(event, alert=False)
time.sleep(6)
snort = self._search({'returnFormat': 'snort', 'eventid': event.id})
self.assertIsInstance(snort, str)
self.assertIn('8.8.8.8', snort)