Last active
September 10, 2021 09:18
-
-
Save cardil/8c11cce4e2c1e84c40064e962bc0a1e7 to your computer and use it in GitHub Desktop.
This is a prototype of a Serverless Operator chaos test, suited directly to check for SRVKE-927, (looking for failures different then SRVKE-911)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -Eexuo pipefail | |
if ! [ -d serverless-operator ]; then | |
git clone https://github.com/cardil/serverless-operator.git --branch srvke-927 | |
fi | |
cd serverless-operator | |
env SYSTEM_NAMESPACE=knative-serving \ | |
EVENTING_UPGRADE_TESTS_CONFIGMOUNTPOINT=/.config/wathola \ | |
SERVERLESS_CHAOSE2E_LEADERELECTION_NAMESPACES=knative-eventing \ | |
go test -v \ | |
-tags chaos \ | |
./test/chaos/... \ | |
--imagetemplate='quay.io/openshift-knative/{{.Name}}:v0.23' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To run it, install Serverless, AMQ Streams, create default Kafka cluster, create KnativeKafka CR. Then run it continually, until a failure occurs by (best to have tmux session):