MPI.jl icon indicating copy to clipboard operation
MPI.jl copied to clipboard

Spurios test failures on Windows for `get_position_shared`

Open vchuravy opened this issue 3 years ago • 1 comments

Test Failed at D:\a\MPI.jl\MPI.jl\test\test_io_shared.jl:70
  Expression: MPI.File.get_position_shared(fh) == sum(1:sz)
   Evaluated: 0 == 3
ERROR: LoadError: There was an error during testing

https://github.com/JuliaParallel/MPI.jl/runs/6022508469?check_suite_focus=true

We require atomicity on the file handle https://github.com/JuliaParallel/MPI.jl/blob/3b8963c7fe9a04c12aaf1725aca8cb46730d3c5c/test/test_io_shared.jl#L24, but we still seem to run into non-atomic updates...

vchuravy avatar Apr 15 '22 13:04 vchuravy

This occurs also on macOS: #879. I don't think we've ever seen the failure on Linux.

NOTE: the test was skipped on Windows with #665, in case someone wanted to try and run the tests and see whether this is still an issue.

giordano avatar Sep 24 '24 18:09 giordano