pcs/plan-gating.fmf
Michal Pospíšil 402e13b60a set bundled package paths in plan
There is a key difference between Fedora and RHEL. Fedora has pcs as a
noarch package which causes it to be installed into /usr/lib rather
than /usr/lib64. This means that bundled packages have a different path.
This caused import errors in tests.

There is also a better way of setting the environment variables -
through tmt instead of the preparation script.
2025-11-13 17:16:51 +01:00

38 lines
1.0 KiB
Plaintext

summary: PCS gating test plan
description: Runs upstream tier0, tier1 and smoke tests
# Always use bundled packages from system
environment:
PYTHONPATH: /usr/lib64/pcs/pcs_bundled/packages/
GEM_HOME: /usr/lib64/pcsd/vendor/bundle/
discover:
dist-git-source: true
dist-git-install-builddeps: true
how: shell
tests:
- name: tier0
test: |
./tests/prepare-tests.sh
$TMT_SOURCE_DIR/pcs-*/pcs_test/suite --tier0 -v --vanilla --installed
duration: 10m
tier: 0
tag: fast
- name: tier1
test: |
./tests/prepare-tests.sh
$TMT_SOURCE_DIR/pcs-*/pcs_test/suite --tier1 -v --vanilla --installed
duration: 2h
tier: 1
- name: smoke
test: |
systemctl start pcsd
./tests/prepare-tests.sh
$TMT_SOURCE_DIR/pcs-*/pcs_test/smoke.sh
duration: 10m
tier: smoke
tag: fast
execute:
how: tmt