summaryrefslogtreecommitdiffstats
path: root/test/swmr_sparse_reader.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/swmr_sparse_reader.c')
-rw-r--r--test/swmr_sparse_reader.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/swmr_sparse_reader.c b/test/swmr_sparse_reader.c
index ab34d97..9cccef1 100644
--- a/test/swmr_sparse_reader.c
+++ b/test/swmr_sparse_reader.c
@@ -267,6 +267,10 @@ read_records(const char *filename, unsigned verbose, unsigned long nrecords,
/* Pause */
sleep(poll_time);
+ /* Retrieve and print the collection of metadata read retries */
+ if(print_metadata_retries_info(fid) < 0)
+ fprintf(stderr, "Warning: could not obtain metadata retries info\n");
+
/* Reopen the file */
if(H5Fclose(fid) < 0)
return -1;
@@ -291,6 +295,10 @@ read_records(const char *filename, unsigned verbose, unsigned long nrecords,
if(verbose)
fprintf(stderr, "Reopening file: %s\n", filename);
+ /* Retrieve and print the collection of metadata read retries */
+ if(print_metadata_retries_info(fid) < 0)
+ fprintf(stderr, "Warning: could not obtain metadata retries info\n");
+
/* Reopen the file */
if(H5Fclose(fid) < 0)
return -1;
@@ -300,6 +308,11 @@ read_records(const char *filename, unsigned verbose, unsigned long nrecords,
} /* end if */
} /* end while */
+
+ /* Retrieve and print the collection of metadata read retries */
+ if(print_metadata_retries_info(fid) < 0)
+ fprintf(stderr, "Warning: could not obtain metadata retries info\n");
+
/* Close file */
if(H5Fclose(fid) < 0)
return -1;