mirror of
https://github.com/krkn-chaos/krkn.git
synced 2026-02-14 18:10:00 +00:00
Some checks failed
Functional & Unit Tests / Functional & Unit Tests (push) Failing after 8m23s
Functional & Unit Tests / Generate Coverage Badge (push) Has been skipped
Signed-off-by: Paige Patton <prubenda@redhat.com>
20 lines
517 B
Bash
20 lines
517 B
Bash
set -xeEo pipefail
|
|
|
|
source CI/tests/common.sh
|
|
|
|
trap error ERR
|
|
trap finish EXIT
|
|
|
|
|
|
function functional_test_cpu_hog {
|
|
yq -i '."node-selector"="kubernetes.io/hostname=kind-worker2"' scenarios/kube/cpu-hog.yml
|
|
|
|
export scenario_type="hog_scenarios"
|
|
export scenario_file="scenarios/kube/cpu-hog.yml"
|
|
export post_config=""
|
|
envsubst < CI/config/common_test_config.yaml > CI/config/cpu_hog.yaml
|
|
python3 -m coverage run -a run_kraken.py -c CI/config/cpu_hog.yaml
|
|
echo "CPU Hog: Success"
|
|
}
|
|
|
|
functional_test_cpu_hog |