-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move broken Parallel.gdistances function to Experimental submodule #94
Move broken Parallel.gdistances function to Experimental submodule #94
Conversation
Codecov Report
@@ Coverage Diff @@
## master #94 +/- ##
==========================================
- Coverage 98.82% 97.79% -1.04%
==========================================
Files 109 110 +1
Lines 6201 6203 +2
==========================================
- Hits 6128 6066 -62
- Misses 73 137 +64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is also gdistances
tests in
Graphs.jl/test/traversals/bfs.jl (lines 29-35)
gdistances
should not be globally exported, but only exported in Experimental module.
We should also reflect this change in the documentation (gdistances
appears in
Graphs.jl/docs/src/pathing.md for example)
period
is calling gdistances
, what should we do about it ?
@ViralBShah mentionned that he also saw bfs
failing, but I couldn't find such failing test.
The |
The tests in Graphs.jl/src/traversals/bfs.jl Lines 126 to 141 in abdfceb
|
IIRC, it was parallel bfs that was broken - not the sequential one. And it happened only on windows. The logs are all gone now. |
The testset in which the failing
Is it possible, that this is the reason why you think that bfs fails from time to time?
|
Yes that would explain it. I was just going by what I was seeing in the logs. |
Ok, my bad, all my remarks were on sequential |
Thanks for reviewing :) Will merge this now, so hopefully we won't see that many failing tests anymore. |
The
Parallel.gdistances
functions seems to have some incorrect assumptions about threaded memory. This leads to tests failing from time to time. In order to not completely throw away the code, this PR moves it to theExperimental.Parallel
submodule and deactivates the tests for this function.See #10