Commit 5c7e107
committed
test(ai): surface the /ai/embed response body when the two-tenant e2e fails
The AI embed/retrieve demo e2e (poisoned_rag, two_tenant) and the rate-limit e2e
return a controlled 503 whose aiCode lives only in the JSON body, which
assertStatus() does not print. Assert the status with the body in the message so
the next CI run reveals the exact failure code and it can be root-caused. No
behaviour change on the success path.1 parent 11788c0 commit 5c7e107
1 file changed
Lines changed: 5 additions & 1 deletion
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
50 | 54 | | |
51 | 55 | | |
52 | 56 | | |
| |||
0 commit comments