mirror of https://github.com/MISP/MISP
chg: [tests] added another sleep to wait for a publish
parent
d7d0de5b35
commit
98878c39c8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue