Add basic tier0 tests to verify that installing mod_jk doesn't break anything
Related: #1963135
This commit is contained in:
parent
063e91895e
commit
3d2ff26904
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-9
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
18
tests/test.yml
Normal file
18
tests/test.yml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
remote_user: root
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
roles:
|
||||||
|
- role: standard-test-basic
|
||||||
|
tests:
|
||||||
|
- verify_httpd_up:
|
||||||
|
dir: .
|
||||||
|
run: "curl http://localhost/ &> testfile.log || true && grep '<h1>Fedora Webserver <strong>Test Page</strong></h1>' testfile.log"
|
||||||
|
- check_error_log:
|
||||||
|
dir: .
|
||||||
|
run: "! sudo grep -i error /var/log/httpd/error_log | grep -v \"AH01276\""
|
||||||
|
required_packages:
|
||||||
|
- mod_jk-ap24
|
||||||
|
- httpd
|
||||||
|
required_services:
|
||||||
|
- httpd
|
Loading…
Reference in New Issue
Block a user