mirror of
https://github.com/krkn-chaos/krkn.git
synced 2026-04-15 06:57:28 +00:00
* Github Action + functional tests (no *hog tests) * changed the trigger keyword to /test * removed deprecated kill_pod scenario + added namespace to app_outage (new kill_pod) * #365: renamed ingress_namespace scenario to network_diagnostrcs * requested team filter added --------- Co-authored-by: Tullio Sebastiani <tullio.sebastiani@x3solutions.it>
20 lines
635 B
Bash
Executable File
20 lines
635 B
Bash
Executable File
set -xeEo pipefail
|
|
|
|
source CI/tests/common.sh
|
|
|
|
trap error ERR
|
|
trap finish EXIT
|
|
|
|
function funtional_test_namespace_deletion {
|
|
export scenario_type="namespace_scenarios"
|
|
export scenario_file="- CI/scenarios/network_diagnostics_namespace.yaml"
|
|
export post_config=""
|
|
yq '.scenarios.[0].namespace="^openshift-network-diagnostics$"' -i CI/scenarios/network_diagnostics_namespace.yaml
|
|
envsubst < CI/config/common_test_config.yaml > CI/config/namespace_config.yaml
|
|
python3 -m coverage run -a run_kraken.py -c CI/config/namespace_config.yaml
|
|
echo $?
|
|
echo "Namespace scenario test: Success"
|
|
}
|
|
|
|
funtional_test_namespace_deletion
|