Commit 9411c02
committed
fix(doccano-django): nest globalNoise schema so the filter actually applies
keploy's GlobalNoise type is map[string]map[string][]string —
outer key is the response section ("header" / "body"), inner
key is the field name. Flat dotted keys like `body.created_at: []`
get put into the outer map as literal key "body.created_at" and
never match any section, so the noise is silently dropped. The
template's drift-suppression list was a no-op; only Date got
ignored at compare time because keploy auto-stamps Date as per-test
noise on every recording, and everything else slipped through.
Same shape of fix landed in samples-typescript/umami-postgres in
93bbdae; documenting the gotcha in this template's comments so
the next sample doesn't repeat it.
Validation pending — doccano cells haven't run yet on the active
keploy/enterprise PR (#1889). The matrix-cell collision fix
landed in keploy/enterprise#1889 (commit 84cd64b1) opens up the
lane enough for the noise filter to actually be exercised against
real drift.
Signed-off-by: Akash Kumar <meakash7902@gmail.com>1 parent 568b0bb commit 9411c02
1 file changed
Lines changed: 20 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
0 commit comments