Commit eff0846c authored by GILLES Sebastien's avatar GILLES Sebastien

#1464 Now test could fail due to a mpi issue.

parent 084c56f3
...@@ -13,7 +13,7 @@ Starting from v18.47, the ticket numbers in bold are those that might break comp ...@@ -13,7 +13,7 @@ Starting from v18.47, the ticket numbers in bold are those that might break comp
## Tests ## Tests
- Bug #1461: Due to a git mishap, test about PetscVectorIO was buggy (the fix to the bug was unwittingly overwritten...) - Bug #1461: Due to a git mishap, test about PetscVectorIO was buggy (the fix to the bug was unwittingly overwritten...)
- Bug #1464: A test (Utilities/Now) could fail due to racing condition.
## External tools ## External tools
...@@ -62,7 +62,7 @@ Starting from v18.47, the ticket numbers in bold are those that might break comp ...@@ -62,7 +62,7 @@ Starting from v18.47, the ticket numbers in bold are those that might break comp
- Support #1272: Convert the FromVertexMatching test to activate it in the test suite. - Support #1272: Convert the FromVertexMatching test to activate it in the test suite.
- Support #1457: Set the timeout for each test. - Support #1457: Set the timeout for each test.
- Bug #1442: Gitlab-CI: the warning check for macOS failed as an alpine Docker image was assumed and a shell runner was actually used - Bug #1442: Gitlab-CI: the warning check for macOS failed as an alpine Docker image was assumed and a shell runner was actually used
## Scripts ## Scripts
......
...@@ -55,8 +55,13 @@ BOOST_FIXTURE_TEST_CASE(same_on_all_processors, Fixture) ...@@ -55,8 +55,13 @@ BOOST_FIXTURE_TEST_CASE(same_on_all_processors, Fixture)
output_directory += "/Test/Utilities/Now"; output_directory += "/Test/Utilities/Now";
if (!FilesystemNS::Folder::DoExist(output_directory)) if (mpi.IsRootProcessor())
FilesystemNS::Folder::Create(output_directory, __FILE__, __LINE__); {
if (!FilesystemNS::Folder::DoExist(output_directory))
FilesystemNS::Folder::Create(output_directory, __FILE__, __LINE__);
}
mpi.Barrier();
std::ofstream out; std::ofstream out;
std::ostringstream oconv; std::ostringstream oconv;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment