AdemeDpeClientRouterTest
Tests
| Test |
Method name |
Duration |
Result |
| SQL marquée indisponible en amont (isDatabaseAvailable=false) — HTTP appelé directement, SQL jamais interrogé |
http used directly when sql database is marked unavailable() |
0.006s |
passed |
| SQL — gap de couverture locale (no_local_*) déclenche le fallback HTTP |
sql coverage gap triggers http fallback() |
1.719s |
passed |
| SQL trouve un match — HTTP n'est jamais appelé |
sql success is returned without calling http() |
0.026s |
passed |
| SQL — abstention par scoring (no_surface_match) N'appelle PAS HTTP, abstention préservée |
sql surface mismatch abstention is never overridden by http() |
0.008s |
passed |
| SQL indisponible (Unavailable) déclenche le fallback HTTP |
sql unavailable result triggers http fallback() |
0.023s |
passed |
Standard output
21:45:35.560 [Test worker] INFO com.alertimmo.aiscraping.ademe.AdemeDpeClientRouter -- [ADEME-router] coverage gap (no_local_ban_id:69384_3485_00057) — fallback HTTP
21:45:35.645 [Test worker] WARN com.alertimmo.aiscraping.ademe.AdemeDpeClientRouter -- [ADEME-router] SQL unavailable — fallback HTTP
Standard error
WARNING: A Java agent has been loaded dynamically (/home/runner/.gradle/caches/modules-2/files-2.1/net.bytebuddy/byte-buddy-agent/1.17.8/f09415827a71be7ed621c7bd02550678f28bc81c/byte-buddy-agent-1.17.8.jar)
WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning
WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information
WARNING: Dynamic loading of agents will be disallowed by default in a future release