Skip to content
Snippets Groups Projects
Commit ad051b2f authored by Carlos Natalino Da Silva's avatar Carlos Natalino Da Silva
Browse files

Including sleep during initialization of the service.

parent 4eb47585
Branches 17-use-saref4syst-for-s4ehaw-ban
No related tags found
2 merge requests!235Release TeraFlowSDN 3.0,!210Fixing issues with the WebUI and the optical cybersecurity module
......@@ -15,6 +15,7 @@
import logging
import uuid
import queue
import time
from unittest.mock import patch
import pytest
......@@ -36,6 +37,7 @@ LOGGER = logging.getLogger(__name__)
def optical_attack_detector_service():
_service = OpticalAttackDetectorService()
_service.start()
time.sleep(2)
yield _service
_service.stop()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment