mirror of
https://github.com/suitenumerique/drive.git
synced 2026-08-22 06:12:21 +02:00
Load-test scenarios authenticate through the e2e user-auth endpoint, which must be available on a production-like instance without enabling DEBUG. LOAD_E2E_URLS is kept as a plain literal so no environment variable can ever flip it, and post_setup refuses to start any configuration outside an explicit allowlist that would expose it. Deploying with DJANGO_CONFIGURATION=LoadTest becomes the only way to expose these endpoints on a Production-derived setup, making it a deliberate and reviewable infrastructure decision.