URL: https://github.com/freeipa/freeipa/pull/883
Author: MartinBasti
 Title: #883: Travis: check for BytesWarnings in httpd error_log
Action: opened

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

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/883/head:pr883
git checkout pr883
From 77d6cf9dd31bf882b193f256dff202ed1664be61 Mon Sep 17 00:00:00 2001
From: Martin Basti <mba...@redhat.com>
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.
---
 .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 014c64854b..f77f603a36 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 -B10 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 cece1c4149..f5df2cdb10 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 -B10 BytesWarning /var/log/httpd/error_log
 tests:
   verbose: true
   ignore:
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org

Reply via email to