diff options
author | Songyu Lu <songyulu@hdfgroup.org> | 2021-03-19 16:25:22 (GMT) |
---|---|---|
committer | Songyu Lu <songyulu@hdfgroup.org> | 2021-03-19 16:25:22 (GMT) |
commit | 1cc3f187ee3524e412babf5059fed4757b3769fd (patch) | |
tree | 4bf3ee3312867008882dffeff2c90214a17be2d0 /test/testvfdswmr.sh.in | |
parent | 84b31b5a558bdc816e91c414f98155bf72ae1502 (diff) | |
download | hdf5-1cc3f187ee3524e412babf5059fed4757b3769fd.zip hdf5-1cc3f187ee3524e412babf5059fed4757b3769fd.tar.gz hdf5-1cc3f187ee3524e412babf5059fed4757b3769fd.tar.bz2 |
Rearranged the test in the following way:
1. Reader waits for a number of ticks (3 by default) before verifying the creation of groups and attributes;
2. Error handling is consistent with traditional setup of the test suite.
Diffstat (limited to 'test/testvfdswmr.sh.in')
-rw-r--r-- | test/testvfdswmr.sh.in | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/testvfdswmr.sh.in b/test/testvfdswmr.sh.in index a2e47b1..fc6b0df 100644 --- a/test/testvfdswmr.sh.in +++ b/test/testvfdswmr.sh.in @@ -610,17 +610,17 @@ if [ ${do_zoo:-no} = yes ]; then fi # -# Make sure that we can create 10000 groups while a reader waits +# Make sure that we can create 1000 groups 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 -u 10 -n 10000 & + ../vfd_swmr_group_writer -q -c 100 -n 1000 & pid_writer=$! catch_out_err_and_rc vfd_swmr_group_reader \ - ../vfd_swmr_group_reader -q -u 10 -n 10000 -W & + ../vfd_swmr_group_reader -q -c 100 -n 1000 -u 5 & pid_reader=$! # Wait for the reader to finish before signalling the @@ -628,7 +628,6 @@ if [ ${do_groups:-no} = yes ]; then # reader will find the shadow file when it opens # the .h5 file. wait $pid_reader - kill -USR1 $(cat vfd_swmr_group_writer.pid) wait $pid_writer # Collect exit code of the reader |