Repository navigation
Commit 95bfd74
committed
Pin the manager's record header test to the current format
persisted_header_matches_the_descriptor_layout has failed on main since
#264 moved record headers to version 3: the manager now encodes version
3, and the test still compared the encoding with the version 1 fixture.
Add a version 3 fixture and compare the encoding with it. Keep the
version 1 fixture to check that a header written before #264 still
decodes to the same header, and keep its invalid-field checks.
On cn4 (Linux, x86_64) the manager's record tests pass; before, this
test failed with a version byte of 3 against 1.
Design-Signed-Off-By: yatesdr; design-review=1af41 parent 6f2bd11 commit 95bfd74
2 files changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
144 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
145 | 146 | | |
146 | 147 | | |
147 | 148 | | |
| |||
Binary file not shown.
0 commit comments