mirror of
https://github.com/krkn-chaos/krkn.git
synced 2026-04-15 06:57:28 +00:00
* added new native hog scenario * removed arcaflow dependency + legacy hog scenarios * config update * changed hog configuration structure + added average samples * fix on cpu count * removes tripledes warning * changed selector format * changed selector syntax * number of nodes option * documentation * functional tests * exception handling on hog deployment thread
19 lines
535 B
Bash
19 lines
535 B
Bash
set -xeEo pipefail
|
|
|
|
source CI/tests/common.sh
|
|
|
|
trap error ERR
|
|
trap finish EXIT
|
|
|
|
|
|
function functional_test_memory_hog {
|
|
yq -i '.node_selector="kubernetes.io/hostname=kind-worker2"' scenarios/kube/memory-hog.yml
|
|
export scenario_type="hog_scenarios"
|
|
export scenario_file="scenarios/kube/memory-hog.yml"
|
|
export post_config=""
|
|
envsubst < CI/config/common_test_config.yaml > CI/config/memory_hog.yaml
|
|
python3 -m coverage run -a run_kraken.py -c CI/config/memory_hog.yaml
|
|
echo "Memory Hog: Success"
|
|
}
|
|
|
|
functional_test_memory_hog |