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
9f3d3ec6
Commit
9f3d3ec6
authored
7 years ago
by
Nikolay Stanchev
Browse files
Options
Downloads
Patches
Plain Diff
Slight refactoring
parent
541f3f00
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
clmctest/monitoring/LineProtocolGenerator.py
+1
-1
1 addition, 1 deletion
clmctest/monitoring/LineProtocolGenerator.py
clmctest/monitoring/test_simresults.py
+0
-1
0 additions, 1 deletion
clmctest/monitoring/test_simresults.py
with
1 addition
and
2 deletions
clmctest/monitoring/LineProtocolGenerator.py
+
1
−
1
View file @
9f3d3ec6
...
@@ -78,7 +78,7 @@ def generate_endpoint_config(cpu, mem, storage, time, **kwargs):
...
@@ -78,7 +78,7 @@ def generate_endpoint_config(cpu, mem, storage, time, **kwargs):
:param mem: memory of VM endpoint
:param mem: memory of VM endpoint
:param storage: storage capacity of VM endpoint
:param storage: storage capacity of VM endpoint
:param time: time of measurement
:param time: time of measurement
:param kwargs:
'
python
ic
-style
'
keyword arguments used to store the state as a key and it
'
s respective state period (in seconds) as value
:param kwargs:
'
python-style
'
keyword arguments used to store the state as a key and it
'
s respective state period (in seconds) as value
:return: dictionary object representing the data to post on influx
:return: dictionary object representing the data to post on influx
"""
"""
...
...
This diff is collapsed.
Click to expand it.
clmctest/monitoring/test_simresults.py
+
0
−
1
View file @
9f3d3ec6
...
@@ -45,7 +45,6 @@ class TestSimulation(object):
...
@@ -45,7 +45,6 @@ class TestSimulation(object):
:param query: the query to execute (value obtained from the pytest parameter decorator)
:param query: the query to execute (value obtained from the pytest parameter decorator)
:param expected_result: the result expected from executing the query (value obtained from the pytest parameter decorator)
:param expected_result: the result expected from executing the query (value obtained from the pytest parameter decorator)
:param influx_db the import db client fixture - imported from contest.py
:param influx_db the import db client fixture - imported from contest.py
:param run_simulation_fixture: the imported fixture to use to generate the testing data - the return value of the fixture is not needed in this case
"""
"""
# pytest automatically goes through all queries under test, declared in the parameters decorator
# pytest automatically goes through all queries under test, declared in the parameters decorator
...
...
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