Repository navigation
Commit cf1445d
committed
test(apple): pin the replacement bundle's mtime so the key must move
The in-place replacement case relied on the filesystem to make both halves of
the memo key differ. On ext4 or tmpfs a freed inode is reused and two writes can
land in one truncated millisecond, leaving the key untouched and the case red.
Set the replacement's mtime explicitly. Also drop the claim that two probers
read the selection link path; only the toolchain probe does.1 parent 433528d commit cf1445d
2 files changed
Lines changed: 9 additions & 2 deletions
File tree
- packages/platform-apple/src/runner
- __tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| 320 | + | |
320 | 321 | | |
321 | 322 | | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
322 | 329 | | |
323 | 330 | | |
324 | 331 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments