Repository navigation
Commit 44e3be0
gh-161262: Fix test_touch_common flake on Emscripten (GH-161464)
Under Node, NODEFS takes a new file's mtime from the host kernel but
utime(path, None) uses Date.now() written back via fs.utimesSync, which
can land a millisecond before the creation time. Take the baseline from
utime(path, None) too, so both timestamps come from the same source.
(cherry picked from commit cc98745)
Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent e84e5c6 commit 44e3be0
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2341 | 2341 | | |
2342 | 2342 | | |
2343 | 2343 | | |
| 2344 | + | |
| 2345 | + | |
| 2346 | + | |
2344 | 2347 | | |
2345 | 2348 | | |
2346 | 2349 | | |
| |||
0 commit comments