Commit 8936d0b
committed
ci: normalize mtimes for eth2shuffle and genesiswrite fixtures
cl/utils/eth2shuffle reads spec/tests.csv at runtime and
execution/state/genesiswrite reads genesis_test.json at runtime.
Neither path was covered by git restore-mtime, so their mtimes varied
between CI runs and prevented Go test result caching for those packages.
Document the requirement: any test that reads a data file at runtime
outside a testdata/ directory must add it to the restore-mtime list.1 parent a3ec862 commit 8936d0b
2 files changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
176 | 178 | | |
177 | 179 | | |
178 | 180 | | |
179 | 181 | | |
180 | | - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
181 | 185 | | |
182 | 186 | | |
183 | 187 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
0 commit comments