diff --git a/tests/opentelemetry-remote-collector-tests.bats b/tests/opentelemetry-remote-collector-tests.bats index fd16c05..fb674a1 100644 --- a/tests/opentelemetry-remote-collector-tests.bats +++ b/tests/opentelemetry-remote-collector-tests.bats @@ -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