Commit 746ff1d
fix: tolerate database locked in TestMigrationRace on all platforms
Concurrent schema migrations can legitimately hit "database is
locked" on any OS. The test now allows one of the two concurrent
Opens to fail as long as at least one succeeds and the final
schema is correct.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent d657aef commit 746ff1d
1 file changed
+4
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
1454 | 1453 | | |
1455 | 1454 | | |
1456 | 1455 | | |
1457 | | - | |
1458 | | - | |
1459 | | - | |
1460 | | - | |
1461 | | - | |
1462 | | - | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
1463 | 1460 | | |
1464 | 1461 | | |
1465 | 1462 | | |
| |||
0 commit comments