Skip to content

Commit

Permalink
Skip flaky test on Windows (#665)
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano authored Oct 3, 2022
1 parent 0682571 commit 3f21294
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/test_io_shared.jl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,12 @@ MPI.File.read_ordered!(fh, buf)

MPI.Barrier(comm)
MPI.File.sync(fh)
@test MPI.File.get_position_shared(fh) == sum(1:sz)
if Sys.iswindows()
# TODO: this has to be fixed: https://github.com/JuliaParallel/MPI.jl/issues/555
@test_skip MPI.File.get_position_shared(fh) == sum(1:sz)
else
@test MPI.File.get_position_shared(fh) == sum(1:sz)
end

MPI.File.set_view!(fh, 0, MPI.Datatype(UInt8), MPI.Datatype(UInt8))
MPI.Barrier(comm)
Expand Down

0 comments on commit 3f21294

Please sign in to comment.