diff options
author | vchoi-hdfgroup <55293060+vchoi-hdfgroup@users.noreply.github.com> | 2021-04-05 19:03:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-05 19:03:53 (GMT) |
commit | fef0001155449d66fea046c3ca1064bc53e5531d (patch) | |
tree | d016b23505360498b2d9a86a3b7ea4c0ce308fb2 /test/testvfdswmr.sh.in | |
parent | 2a4ec12cb8b55f429409f8150b6cbfe76d5d15f4 (diff) | |
parent | 22159bc646f379b9d12c6c3a4ac44126029702e0 (diff) | |
download | hdf5-fef0001155449d66fea046c3ca1064bc53e5531d.zip hdf5-fef0001155449d66fea046c3ca1064bc53e5531d.tar.gz hdf5-fef0001155449d66fea046c3ca1064bc53e5531d.tar.bz2 |
Merge pull request #3 from HDFGroup/feature/vfd_swmr
Feature/vfd swmr
Diffstat (limited to 'test/testvfdswmr.sh.in')
-rw-r--r-- | test/testvfdswmr.sh.in | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/test/testvfdswmr.sh.in b/test/testvfdswmr.sh.in index 58c852e..e8ead12 100644 --- a/test/testvfdswmr.sh.in +++ b/test/testvfdswmr.sh.in @@ -7,7 +7,7 @@ # This file is part of HDF5. The full HDF5 copyright notice, including # terms governing use, modification, and redistribution, is contained in # the COPYING file, which can be found at the root of the source code -# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. +# distribution tree, or in https://www.hdfgroup.org/releases. # If you do not have access to either file, you may request a copy from # help@hdfgroup.org. # @@ -40,7 +40,8 @@ nsofterrors=0 # soft errors are expected to occur some of the time # on a couple of nondeterministic tests. ############################################################################### -## test parameters for vfd_swmr_bigset_writer.c based on HDF5TestExpress: +## test parameters for vfd_swmr_bigset_writer.c and vfd_swmr_group_writer.c +## based on HDF5TestExpress: ## 0: Exhaustive run: Tests take a long time to run. ## 1: Default run. ## 2+: Quick run @@ -53,14 +54,17 @@ fi BIGSET_n=25 # -n option: # of iterations BIGSET_few_s=20 # -s option: # of datasets (for few_big test) BIGSET_many_s=500 # -s option: # of datasets (for many_small test) +GROUP_n=100 # -n option: # of groups (for vfd_swmr_group_writer.c) if [[ "$HDF5TestExpress" -eq 0 ]] ; then # Setting for exhaustive run BIGSET_n=50 BIGSET_few_s=40 BIGSET_many_s=1000 + GROUP_n=400 elif [[ "$HDF5TestExpress" -gt 1 ]]; then # Setting for quick run BIGSET_n=10 BIGSET_few_s=10 BIGSET_many_s=100 + GROUP_n=40 fi ############################################################################### @@ -610,17 +614,17 @@ if [ ${do_zoo:-no} = yes ]; then fi # -# Make sure that we can create 10000 groups while a reader waits -# for each to appear. +# Make sure that we can create GROUP_n groups (40, 100, or 400 depending on the HDF5TestExpress level) +# while a reader waits for each to appear. # if [ ${do_groups:-no} = yes ]; then echo launch vfd_swmr_group_writer catch_out_err_and_rc vfd_swmr_group_writer \ - ../vfd_swmr_group_writer -q -c 1000 -n 10000 & + ../vfd_swmr_group_writer -q -c 10 -n $GROUP_n & pid_writer=$! catch_out_err_and_rc vfd_swmr_group_reader \ - ../vfd_swmr_group_reader -q -c 1000 -n 10000 & + ../vfd_swmr_group_reader -q -c 10 -n $GROUP_n -u 5 & pid_reader=$! # Wait for the reader to finish before signalling the |