Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
18
Merge Requests
18
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
220760ba
Commit
220760ba
authored
Jan 15, 2020
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Since
ec876a72
new data was inserted, reflect changes in test.
parent
8a18a874
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
slapos/tests/test_collect.py
slapos/tests/test_collect.py
+5
-5
No files found.
slapos/tests/test_collect.py
View file @
220760ba
...
...
@@ -804,11 +804,11 @@ class TestConsumptionReportBase(unittest.TestCase):
data
=
self
.
report
.
getPartitionProcessConsumptionList
(
'slapuser19'
,
date_scope
=
'2019-10-05'
,
min_time
=
'00:01:00'
,
max_time
=
'00:13:00'
)
self
.
assertEqual
(
1784
.02
,
data
[
-
1
][
'cpu_time'
])
self
.
assertEqual
(
56974
.0
,
data
[
-
1
][
'pid'
])
self
.
assertEqual
(
1
02665369
.0
,
data
[
-
1
][
'io_cycles_counter'
])
self
.
assertEqual
(
2.35
,
data
[
-
1
][
'memory_rss'
])
self
.
assertEqual
(
35299729408
.0
,
data
[
-
1
][
'io_rw_counter'
])
self
.
assertEqual
(
0
.02
,
data
[
-
1
][
'cpu_time'
])
self
.
assertEqual
(
1363
.0
,
data
[
-
1
][
'pid'
])
self
.
assertEqual
(
1
93206
.0
,
data
[
-
1
][
'io_cycles_counter'
])
self
.
assertEqual
(
5.16
,
data
[
-
1
][
'memory_rss'
])
self
.
assertEqual
(
2916352
.0
,
data
[
-
1
][
'io_rw_counter'
])
def
test_getPartitionConsumptionStatusList
(
self
):
data
=
self
.
report
.
getPartitionConsumptionStatusList
(
'slapuser19'
,
date_scope
=
'2019-10-05'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment