Skip to content

Commit

Permalink
[chaos] running no faults as a new type of faults (ray-project#41881)
Browse files Browse the repository at this point in the history
so that we do not run no faults mode for each othar fault mode

Signed-off-by: Lonnie Liu <[email protected]>
  • Loading branch information
aslonnie authored Dec 13, 2023
1 parent 7643209 commit 465a193
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .buildkite/pipeline.build_chaos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,15 @@
kind delete cluster
}
trap cleanup EXIT
- echo "--- Preparing chaos testing environment"
- echo "--- Preparing testing environment"
- ./python/ray/tests/chaos/prepare_env.sh
# First run: no faults
- echo "--- Running the workload without faults"
- "./python/ray/tests/chaos/{{matrix.workload}}.sh"
# Second run: with faults
- kubectl apply -f python/ray/tests/chaos/{{matrix.fault}}.yaml
- echo "--- Running the script {{matrix.workload}} with injected fault {{matrix.fault}}"
- if [[ "{{matrix.fault}}" != "no_fault" ]]; then kubectl apply -f python/ray/tests/chaos/{{matrix.fault}}.yaml; fi
- echo "--- Running {{matrix.workload}}"
- "./python/ray/tests/chaos/{{matrix.workload}}.sh"
matrix:
setup:
fault:
- "no_fault"
- "chaos_network_delay"
- "chaos_network_bandwidth"
workload:
Expand Down

0 comments on commit 465a193

Please sign in to comment.