mirror of
https://git.linux-kernel.at/oliver/ivatar.git
synced 2025-11-11 10:46:24 +00:00
20 lines
665 B
Bash
Executable File
20 lines
665 B
Bash
Executable File
#!/bin/bash
|
|
# Run tests with OpenTelemetry instrumentation enabled but export disabled
|
|
# This is the default test mode for most users
|
|
|
|
set -e
|
|
|
|
echo "Running tests with OpenTelemetry instrumentation (export disabled)..."
|
|
echo "===================================================================="
|
|
|
|
# OpenTelemetry instrumentation is always enabled, but disable export for testing
|
|
export OTEL_EXPORT_ENABLED=false
|
|
export OTEL_SERVICE_NAME=ivatar-test
|
|
export OTEL_ENVIRONMENT=test
|
|
|
|
# Run Django tests (Django will auto-discover all tests)
|
|
python3 manage.py test -v3
|
|
|
|
echo ""
|
|
echo "Tests completed successfully (OpenTelemetry instrumentation enabled, export disabled)"
|