Skip to content

Commit d6d5592

Browse files
committed
1 parent 495b7b4 commit d6d5592

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/Parallel_SerialDCTest.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ void FilenameTest::testBaseName()
132132
dataCollector->write(2, ctInt, 1, Selection(Dimensions(1, 1, 1)), "data1", &data1);
133133
dataCollector->close();
134134

135+
// Wait till all wrote the file(s)
136+
MPI_Barrier(MPI_COMM_WORLD);
137+
135138
// Now file must exist
136139
CPPUNIT_ASSERT(fileExists(HDF5_BASE_FILE));
137140

0 commit comments

Comments
 (0)