Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
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
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.toolbox
Commits
31ad3b84
Commit
31ad3b84
authored
Jul 15, 2024
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
promise/plugin: check_file_state configurability fix
Honor result_count and failure_amount in the test method too.
parent
cd6ee310
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
slapos/promise/plugin/check_file_state.py
slapos/promise/plugin/check_file_state.py
+4
-0
No files found.
slapos/promise/plugin/check_file_state.py
View file @
31ad3b84
...
...
@@ -57,6 +57,10 @@ class RunPromise(GenericPromise):
else
:
self
.
logger
.
info
(
"OK %r state %r"
%
(
filename
,
state
))
def
test
(
self
):
return
self
.
_test
(
result_count
=
self
.
result_count
,
failure_amount
=
self
.
failure_amount
)
def
anomaly
(
self
):
return
self
.
_anomaly
(
result_count
=
self
.
result_count
,
failure_amount
=
self
.
failure_amount
)
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