summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/vfd_swmr.c2
-rw-r--r--test/vfd_swmr_generator.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/vfd_swmr.c b/test/vfd_swmr.c
index b5f43a9..fc517d2 100644
--- a/test/vfd_swmr.c
+++ b/test/vfd_swmr.c
@@ -286,7 +286,7 @@ test_file_fapl(void)
FAIL_STACK_ERROR
/* Set file space strategy */
- if(H5Pset_file_space_strategy(fcpl, H5F_FSPACE_STRATEGY_PAGE, FALSE, (hsize_t)1024 * 1024 * 1024) < 0)
+ if(H5Pset_file_space_strategy(fcpl, H5F_FSPACE_STRATEGY_PAGE, FALSE, 1) < 0)
FAIL_STACK_ERROR;
/* Should fail to create: no page buffering */
diff --git a/test/vfd_swmr_generator.c b/test/vfd_swmr_generator.c
index 243def8..2bf8620 100644
--- a/test/vfd_swmr_generator.c
+++ b/test/vfd_swmr_generator.c
@@ -148,7 +148,7 @@ gen_skeleton(const char *filename, hbool_t verbose, hbool_t vfd_swmr_write,
if(vfd_swmr_write) {
/* Set file space strategy to paged aggregation in fcpl */
- if(H5Pset_file_space_strategy(fcpl, H5F_FSPACE_STRATEGY_PAGE, FALSE, 1024 * 1024 * 1024) < 0)
+ if(H5Pset_file_space_strategy(fcpl, H5F_FSPACE_STRATEGY_PAGE, FALSE, 1) < 0)
return -1;
/* Enable page buffering in fapl */