Travis: check for BytesWarnings in httpd error_log

This check should prevent regressions in already py3 ported server plugins.
Later it may be extened to multiple logs.

Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
Martin Basti 2017-06-20 15:35:29 +02:00
parent 8311069d18
commit b43dab8388
2 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,7 @@ steps:
- ipa-test-config --help
- ipa-test-task --help
- ipa-run-tests ${tests_ignore} -k-test_dns_soa ${tests_verbose} ${path}
- '! grep -n -C5 BytesWarning /var/log/httpd/error_log'
- ipa-server-install --uninstall -U
tests:
ignore:

View File

@ -52,6 +52,7 @@ steps:
- echo 'wait_for_dns=5' >> ~/.ipa/default.conf
run_tests:
- ipa-run-tests-3 ${tests_ignore} -k-test_dns_soa ${tests_verbose} ${path}
- '! grep -n -C5 BytesWarning /var/log/httpd/error_log'
tests:
verbose: true
ignore: