Stats tracking is already enabled per-test via setStatisticsEnabled(true); enabling it globally added unnecessary overhead to every test in the suite. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
31 lines
860 B
YAML
31 lines
860 B
YAML
app:
|
|
s3:
|
|
endpoint: http://localhost:9000
|
|
access-key: dummy
|
|
secret-key: dummy
|
|
bucket: test-bucket
|
|
region: us-east-1
|
|
|
|
spring:
|
|
datasource:
|
|
url: will-be-overridden-by-testcontainers
|
|
username: test
|
|
password: test
|
|
mail:
|
|
host: localhost
|
|
|
|
# Disable OTel SDK entirely in tests — prevents auto-configuration from loading resource providers
|
|
# (e.g. AzureAppServiceResourceProvider) that fail against the semconv version used here.
|
|
otel:
|
|
sdk:
|
|
disabled: true
|
|
|
|
# Disable trace export in tests — prevents OTLP connection attempts when no Tempo is running.
|
|
# Sampling probability 0.0 means no spans are created, so no export is attempted.
|
|
management:
|
|
server:
|
|
port: 0 # random port per context — prevents TIME_WAIT conflicts when @DirtiesContext restarts the context
|
|
tracing:
|
|
sampling:
|
|
probability: 0.0
|