Skip to content

fix: use jiff time for touch tests#10093

Merged
sylvestre merged 1 commit intouutils:mainfrom
aaron-ang:touch-test-offset
Jan 7, 2026
Merged

fix: use jiff time for touch tests#10093
sylvestre merged 1 commit intouutils:mainfrom
aaron-ang:touch-test-offset

Conversation

@aaron-ang
Copy link
Contributor

Close #4253.

Use jiff to parse the timestamp in touch tests. jiff doesn't use the OS or libc to get UTC offset. This should fix the intermittent failures caused by multithreaded tests.

@github-actions
Copy link

github-actions bot commented Jan 6, 2026

GNU testsuite comparison:

GNU test failed: tests/sort/sort-stale-thread-mem. tests/sort/sort-stale-thread-mem is passing on 'main'. Maybe you have to rebase?

@sylvestre sylvestre merged commit 0f9c69b into uutils:main Jan 7, 2026
130 of 131 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

touch: Intermittent error 'Error The system's UTC offset could not be determined retrieving the OffsetDateTime::now_local'

2 participants