Commit 8a0d508
committed
fix(tests): fix CI integration test failures — add missing migrations and fix provisioning
- Add SyncModel migrations for IdentityDbContext (UserSessions index) and
AuditDbContext (TenantId column type) — EF Core 10 blocked MigrateAsync
with "pending model changes" warning, preventing tenant provisioning
- Remove OutboxDispatcherHostedService in test factory — it queries
OutboxMessages before migrations complete, causing startup errors
- Fix provisioning status endpoint path: /{tenantId}/provisioning (not /status)
- Add login retry for new tenant admin in isolation tests — provisioning
may still be finalizing when the login attempt fires1 parent 5807b9f commit 8a0d508
File tree
8 files changed
+1187
-260
lines changed- src
- Playground/Migrations.PostgreSQL
- Audit
- Identity
- Tests/Integration.Tests
- Infrastructure
- Tests/Multitenancy
8 files changed
+1187
-260
lines changedLines changed: 93 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 38 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
| 64 | + | |
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
| |||
0 commit comments