Commit 01c815c
committed
test: de-flake w738 byte-stable envelope check (exclude non-deterministic _meta)
`_envelope_for` byte-compared two envelopes that each stamp `_meta`
(timestamp, index_age_s, and — when stale — index_status). Two calls that
straddle a one-second boundary produced different `index_age_s` (e.g. 2593 vs
2594), failing the assertion intermittently on slower CI lanes. The test
asserts legacy-vs-typed-projection content equivalence, not metadata
stability, so drop `_meta` before serializing. Deterministic now.1 parent c8e66a0 commit 01c815c
1 file changed
Lines changed: 13 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
45 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
46 | 52 | | |
47 | 53 | | |
48 | 54 | | |
| |||
0 commit comments