From b43dab83880b8ed99ffab3ed8b4b69e5da80177c Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Tue, 20 Jun 2017 15:35:29 +0200 Subject: [PATCH] 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 --- .test_runner_config.yaml | 1 + .test_runner_config_py3_temp.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/.test_runner_config.yaml b/.test_runner_config.yaml index 014c64854..604a16f8a 100644 --- a/.test_runner_config.yaml +++ b/.test_runner_config.yaml @@ -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: diff --git a/.test_runner_config_py3_temp.yaml b/.test_runner_config_py3_temp.yaml index cece1c414..9497115c1 100644 --- a/.test_runner_config_py3_temp.yaml +++ b/.test_runner_config_py3_temp.yaml @@ -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: