Is overwriting_files_and_lone_directories_works
flaky?
#1789
-
I noticed in d7fa797, which was the initial empty version of the first commit in #1785 as work began on it, that
This looks familiar, but I'm not sure I've seen it before. I was unable to reproduce it, and it wasn't due to changes in that commit, since there were no changes in that commit. Although I don't think this is what I was reminded of, it somewhat resembles #1373, but I believe that is fixed. Is this a bug on the symlink detection on Windows--or perhaps in general?--where it nondeterministically fails on occasion? The GitHub-hosted Windows runners do allow symlinks to be created (there are various ways this can be configured, but the reason it works on the GHA Windows runners is that the runner software is executing as an administrator with full trust). (In the same workflow run, the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
I believe to remember that the non-determinism comes from the probe itself. Initially it was racy, and I think I did combat this by putting it behind a lock and shared memory within a single test binary. This may mean that when multiple test binaries are run in parallel, they'd still step on each other's feet. But… a quick check reveals that this should now be permanently fixed, assuming the random number generator is automatically seeded differently among different binaries. A trait I'd expect but didn't verify. gitoxide/gix-fs/src/capabilities.rs Lines 106 to 113 in bec648d |
Beta Was this translation helpful? Give feedback.
I believe to remember that the non-determinism comes from the probe itself. Initially it was racy, and I think I did combat this by putting it behind a lock and shared memory within a single test binary. This may mean that when multiple test binaries are run in parallel, they'd still step on each other's feet.
But… a quick check reveals that this should now be permanently fixed, assuming the random number generator is automatically seeded differently among different binaries. A trait I'd expect but didn't verify.
gitoxide/gix-fs/src/capabilities.rs
Lines 106 to 113 in bec648d