Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
flame-clmc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
flame
flame-clmc
Commits
7f9f7de9
Commit
7f9f7de9
authored
6 years ago
by
Nikolay Stanchev
Browse files
Options
Downloads
Patches
Plain Diff
updated the coverage configuration file and removed redundant code from aggregator
parent
06c51280
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/service/.coveragerc
+7
-1
7 additions, 1 deletion
src/service/.coveragerc
src/service/clmcservice/aggregation/aggregator.py
+0
-12
0 additions, 12 deletions
src/service/clmcservice/aggregation/aggregator.py
with
7 additions
and
13 deletions
src/service/.coveragerc
+
7
−
1
View file @
7f9f7de9
[run]
source = clmcservice
omit = clmcservice/tests.py
omit =
*test*
*__init__*
clmcservice\aggregation\influx_data_interface.py
clmcservice\configapi\views.py
clmcservice\whoamiapi\views.py
# configapi\views and whoami\views are currently omitted since there is no implementation there, yet
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/service/clmcservice/aggregation/aggregator.py
+
0
−
12
View file @
7f9f7de9
...
...
@@ -223,23 +223,11 @@ class AggregatorThread(Thread):
self
.
aggregator
.
stop
()
def
add_event_lock
(
self
,
event
):
"""
Auxiliary method to set a thread-safe event lock object to the aggregator (used for testing).
:param event: the event lock object
"""
setattr
(
self
,
'
event
'
,
event
)
def
run
(
self
):
"""
The method to execute when the thread starts.
"""
if
hasattr
(
self
,
'
event
'
):
self
.
event
.
set
()
self
.
aggregator
.
run
()
...
...
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