-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Please tick this box to confirm you have reviewed the above.
- I have a different issue.
What version of ripgrep are you using?
ripgrep 14.1.1 (rev 4649aa9)
Features:
- pcre2
SIMD:
- compile: +NEON
- runtime: +NEON
Note: PCRE2 is not available in this build of ripgrep.
How did you install ripgrep?
Built from source.
What operating system are you using ripgrep on?
OS: Microsoft Windows 11 Home (Build 10.0.26100)
Architecture: ARM64
Describe your bug.
When running cargo test --all, the following two tests fail:
misc::sort_accessed – consistently fails on the system.
misc::sortr_accessed – fails intermittently on the system.
The failure appears to be related to differences in how file access times are handled on Windows ARM64, possibly due to NTFS behavior or platform-specific metadata handling.
What are the steps to reproduce the behavior?
-
Clone the ripgrep repository.
-
Build the project using cargo build.
-
Run the full test suite with:
cargo test --all
What is the actual behavior?
The test misc::sort_accessed fails due to a mismatch in expected vs actual output order. The expected output assumes a specific access time order that is not preserved on this platform.
https://gist.github.com/vishvanatarajan/a2c3301b52f11be9b98ec4a411c62761
What is the expected behavior?
All the tests must pass.