Code Review
/
integration
/
packaging
/
ansible-opendaylight.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Add tests when log type is 'file'
[integration/packaging/ansible-opendaylight.git]
/
tests
/
test-odl-logs.yaml
diff --git
a/tests/test-odl-logs.yaml
b/tests/test-odl-logs.yaml
index 107a681e606a3893e4092b9ddc8feccd5d8b3f01..5553ba2acc4cdf76f2bc061cbcf3457081abd758 100644
(file)
--- a/
tests/test-odl-logs.yaml
+++ b/
tests/test-odl-logs.yaml
@@
-29,3
+29,9
@@
that:
- "'{{test_log_level }}' in odl_logs.stdout"
when: test_log_mechanism == 'console'
+
+ - name: verify file logging
+ assert:
+ that:
+ - "lookup('file', '/opt/opendaylight/data/log/karaf.log') != None"
+ when: test_log_mechanism == 'file'