summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authormyang6 <myang6@hdfgroup.org>2021-12-07 18:27:31 (GMT)
committermyang6 <myang6@hdfgroup.org>2021-12-07 18:27:31 (GMT)
commitb78f393d80d3bf6904920787a5e289bbffa05167 (patch)
tree4345ce4776360bf846881a27cd611df75c49767e /test
parent829c3a83c36251c4134ac81d8cc6012b7af8227b (diff)
downloadhdf5-b78f393d80d3bf6904920787a5e289bbffa05167.zip
hdf5-b78f393d80d3bf6904920787a5e289bbffa05167.tar.gz
hdf5-b78f393d80d3bf6904920787a5e289bbffa05167.tar.bz2
Revise comments to address the PR review.
Diffstat (limited to 'test')
-rw-r--r--test/vfd_swmr_indep_rw_writer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/vfd_swmr_indep_rw_writer.c b/test/vfd_swmr_indep_rw_writer.c
index 2ab756b..73fa805 100644
--- a/test/vfd_swmr_indep_rw_writer.c
+++ b/test/vfd_swmr_indep_rw_writer.c
@@ -517,8 +517,9 @@ vrfy_dset(const state_t *s, mat_t *mat)
unsigned int which = 0;
herr_t status;
- /* A failure to read the data may indicate the data isn't ready yet. Instead of displaying the error
- * stack, simply return false and let the caller repeat this step.
+ /* The approach is adapted from the big set test. A failure to read the data may indicate the data isn't ready yet.
+ * For this case, we will not display the error stack, instead sleeping for one tenth of a second,
+ * call H5Drefresh and try to call H5Dread again. After NUM_ATTEMPTS times, issue an error.
*/
for (i = 0; i < NUM_ATTEMPTS; i++) {