Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TFS
controller
Commits
ad051b2f
Commit
ad051b2f
authored
1 year ago
by
Carlos Natalino Da Silva
Browse files
Options
Downloads
Patches
Plain Diff
Including sleep during initialization of the service.
parent
4eb47585
Branches
17-use-saref4syst-for-s4ehaw-ban
Branches containing commit
No related tags found
2 merge requests
!235
Release TeraFlowSDN 3.0
,
!210
Fixing issues with the WebUI and the optical cybersecurity module
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/opticalattackdetector/tests/test_unitary.py
+2
-0
2 additions, 0 deletions
src/opticalattackdetector/tests/test_unitary.py
with
2 additions
and
0 deletions
src/opticalattackdetector/tests/test_unitary.py
+
2
−
0
View file @
ad051b2f
...
...
@@ -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
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment