Skip to content

Commit

Permalink
app_outage refactoring
Browse files Browse the repository at this point in the history
Signed-off-by: Tullio Sebastiani <[email protected]>
  • Loading branch information
tsebastiani committed Jan 18, 2024
1 parent 8b95458 commit f171181
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
5 changes: 0 additions & 5 deletions CI/scenarios/app_outage.yaml

This file was deleted.

7 changes: 4 additions & 3 deletions CI/tests/test_app_outages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ trap finish EXIT


function functional_test_app_outage {
yq -i '.application_outage.pod_selector={"scenario":"outage"}' CI/scenarios/app_outage.yaml
yq -i '.application_outage.namespace="default"' CI/scenarios/app_outage.yaml
yq -i '.application_outage.duration=10' scenarios/outage/app_outage.yaml
yq -i '.application_outage.pod_selector={"scenario":"outage"}' scenarios/outage/app_outage.yaml
yq -i '.application_outage.namespace="default"' scenarios/outage/app_outage.yaml
export scenario_type="application_outages"
export scenario_file="CI/scenarios/app_outage.yaml"
export scenario_file="scenarios/openshift/app_outage.yaml"
export post_config=""
envsubst < CI/config/common_test_config.yaml > CI/config/app_outage.yaml
python3 -m coverage run -a run_kraken.py -c CI/config/app_outage.yaml
Expand Down

0 comments on commit f171181

Please sign in to comment.