This patch adds tests when log type is file. 'File' is also
default type hence all log tests against default config will
fail without these.
JIRA: INTPAK-209
Change-Id: Ifddeb8ff6d4885ed3a1f00b4adbd00fa3f71393f
Signed-off-by: Taseer <taseer94@gmail.com>
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'