summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@lbl.gov>2018-12-20 01:08:04 (GMT)
committerQuincey Koziol <koziol@lbl.gov>2018-12-20 01:08:04 (GMT)
commit34c0328c4d44a26916ebe0756ad5d74ac3c1dec8 (patch)
tree86beeb3f7940965dc80d7f9e71310e228d46b982
parent9fba6e082cefef51f66cf3d2338ecccadbe69fc8 (diff)
parent9810526a89b1f91d441ccce6c6ca484778f99b33 (diff)
downloadhdf5-34c0328c4d44a26916ebe0756ad5d74ac3c1dec8.zip
hdf5-34c0328c4d44a26916ebe0756ad5d74ac3c1dec8.tar.gz
hdf5-34c0328c4d44a26916ebe0756ad5d74ac3c1dec8.tar.bz2
Merge pull request #1398 in HDFFV/hdf5 from stackable_vol_fix_11 to develop
* commit '9810526a89b1f91d441ccce6c6ca484778f99b33': Correct core VFD to run with a 1MB increment instead of a 1 byte increment!
-rw-r--r--test/h5test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/h5test.c b/test/h5test.c
index 47ddd34..0226aa7 100644
--- a/test/h5test.c
+++ b/test/h5test.c
@@ -896,11 +896,11 @@ h5_get_vfd_fapl(hid_t fapl)
goto error;
} else if(!HDstrcmp(tok, "core")) {
/* In-memory driver settings (backing store on, 1 MB increment) */
- if(H5Pset_fapl_core(fapl, (size_t)1, TRUE) < 0)
+ if(H5Pset_fapl_core(fapl, (size_t)H5_MB, TRUE) < 0)
goto error;
} else if(!HDstrcmp(tok, "core_paged")) {
/* In-memory driver with write tracking and paging on */
- if(H5Pset_fapl_core(fapl, (size_t)1, TRUE) < 0)
+ if(H5Pset_fapl_core(fapl, (size_t)H5_MB, TRUE) < 0)
goto error;
if(H5Pset_core_write_tracking(fapl, TRUE, (size_t)4096) < 0)
goto error;