Commit ddca0ed
committed
fix: Change connection_by_backend to function scope
Changed from session to function scope to ensure database.backend config
is restored immediately after each multi-backend test, preventing config
pollution that caused subsequent tests to run with the wrong backend.1 parent cb0d544 commit ddca0ed
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | | - | |
| 327 | + | |
328 | 328 | | |
329 | | - | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
330 | 334 | | |
331 | 335 | | |
332 | 336 | | |
| |||
0 commit comments