summaryrefslogtreecommitdiffstats
path: root/test/tfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tfile.c')
-rw-r--r--test/tfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tfile.c b/test/tfile.c
index 07f8976..27b3601 100644
--- a/test/tfile.c
+++ b/test/tfile.c
@@ -511,7 +511,7 @@ test_file_close(void)
fid2 = H5Fopen(FILE1, H5F_ACC_RDWR, fapl_id);
VERIFY(fid2, FAIL, "H5Fopen");
- ret = H5Pset_fclose_degree(fapl_id, H5F_CLOSE_WEAK);
+ ret = H5Pset_fclose_degree(fapl_id, H5F_CLOSE_DEFAULT);
CHECK(ret, FAIL, "H5Pset_fclose_degree");
/* should succeed */