Skip to content

Commit

Permalink
Merge pull request #129 from jvanz/main
Browse files Browse the repository at this point in the history
fix: remove Otel resources before running other Otel test.
  • Loading branch information
jvanz authored Dec 13, 2024
2 parents db4c308 + e4e19d9 commit 5ae4fec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/opentelemetry-remote-collector-tests.bats
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ teardown_file() {
kubectl delete admissionpolicies,clusteradmissionpolicies --all -A
kubectl delete pod nginx-privileged nginx-unprivileged --ignore-not-found

kubectl delete --wait --ignore-not-found -f $RESOURCES_DIR/opentelemetry-jaeger.yaml
kubectl delete --wait --ignore-not-found --namespace $NAMESPACE -f $RESOURCES_DIR/otel-collector-deployment.yaml

# Remove installed apps
helm uninstall --wait -n jaeger jaeger-operator
helm uninstall --wait -n prometheus prometheus
Expand Down

0 comments on commit 5ae4fec

Please sign in to comment.