mirror of
https://github.com/krkn-chaos/krkn.git
synced 2026-02-14 18:10:00 +00:00
19 lines
559 B
Bash
Executable File
19 lines
559 B
Bash
Executable File
set -xeEo pipefail
|
|
|
|
source CI/tests/common.sh
|
|
|
|
trap error ERR
|
|
trap finish EXIT
|
|
|
|
function functional_test_customapp_pod_node_selector {
|
|
export scenario_type="pod_disruption_scenarios"
|
|
export scenario_file="scenarios/openshift/customapp_pod.yaml"
|
|
export post_config=""
|
|
envsubst < CI/config/common_test_config.yaml > CI/config/customapp_pod_config.yaml
|
|
|
|
python3 -m coverage run -a run_kraken.py -c CI/config/customapp_pod_config.yaml -d True
|
|
echo "Pod disruption with node_label_selector test: Success"
|
|
}
|
|
|
|
functional_test_customapp_pod_node_selector
|