Skip to content

Commit

Permalink
fixed surrogate test problem, where workers would not wait for data t…
Browse files Browse the repository at this point in the history
…o download on the second test
  • Loading branch information
Oskar Taubert committed Apr 19, 2024
1 parent a0a90ee commit 3ae31ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_surrogate.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,8 @@ def test_mnist_static(mpi_tmp_path):
logging_interval=1, # Logging interval
debug=2, # Verbosity level
)
MPI.COMM_WORLD.barrier()
delattr(get_data_loaders, "barrier_called")


@pytest.mark.mpi(min_size=4)
Expand Down

0 comments on commit 3ae31ab

Please sign in to comment.