Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
slapos.package
Commits
ec5388f3
Commit
ec5388f3
authored
May 16, 2017
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: Improve build time test
Keep test name generic and set to reasonable build time: 3h
parent
05e8db89
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
playbook/roles/standalone-shared/tests/testSiteStatus.py
playbook/roles/standalone-shared/tests/testSiteStatus.py
+3
-3
No files found.
playbook/roles/standalone-shared/tests/testSiteStatus.py
View file @
ec5388f3
...
...
@@ -19,6 +19,6 @@ class TestSiteStatus(unittest.TestCase):
# Assert success
self
.
assertTrue
(
self
.
status_dict
[
'success'
])
def
test_build_time
_less_6h
(
self
):
# Check that site was built in less than 6h
self
.
assertLess
(
self
.
status_dict
[
'duration'
],
(
3600.
*
6
))
def
test_build_time
(
self
):
"""Asserts that site was built in less than 3h"""
self
.
assertLess
(
self
.
status_dict
[
'duration'
],
(
3600.
*
3
))
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