From f1d8d889b40689ae7c8089359d35716764789928 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Wed, 19 Dec 2018 17:16:45 -0600 Subject: Correct core VFD to run with a 1MB increment instead of a 1 byte increment! --- test/h5test.c | 4 ++-- 1 file 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; -- cgit v0.12