reset testcomm to world_comm since it can be used in finalize callbacks. (#344)

Signed-off-by: Mohamad Chaarawi <mohamad.chaarawi@intel.com>
master
Mohamad Chaarawi 2021-03-13 11:29:40 -06:00 committed by GitHub
parent 61f36f0c48
commit df5fa556c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -2546,6 +2546,7 @@ mdtest_results_t * mdtest_run(int argc, char **argv, MPI_Comm world_com, FILE *
}
MPI_Group_free(&worldgroup);
testComm = world_com;
if (created_root_dir && o.remove_only && o.backend->rmdir(o.testdirpath, o.backend_options) != 0) {
FAIL("Unable to remove test directory path %s", o.testdirpath);