diff options
author | John Mainzer <mainzer@hdfgroup.org> | 2015-10-12 18:58:32 (GMT) |
---|---|---|
committer | John Mainzer <mainzer@hdfgroup.org> | 2015-10-12 18:58:32 (GMT) |
commit | bb656dfc91f23b29d772a356cf18dbf1ffe33eb7 (patch) | |
tree | 3e4a418863e380d3e197b2c5afaceb8d661b1f3f /hl/fortran/src/H5LTfc.c | |
parent | c5a9bb780f5ce444f888b3cfe775bbe07b5d7b95 (diff) | |
download | hdf5-bb656dfc91f23b29d772a356cf18dbf1ffe33eb7.zip hdf5-bb656dfc91f23b29d772a356cf18dbf1ffe33eb7.tar.gz hdf5-bb656dfc91f23b29d772a356cf18dbf1ffe33eb7.tar.bz2 |
[svn-r28042] Bug fix for failure in testpar/t_cache
Problem appears to have been caused by new code which
dirties a cache entry unexpectedly at file close. This
in turn throws off the write counts maintained by the
test, causing it to fail.
Solution was to manually flush the cache prior to file
close, verify the expected writes, and then de-register
the callback used to obtain write counts from the cache.
After cache shut down, I added additional code to verify
that no test entries were written during the shutdown
process.
The net effect is to insulate the t_cache test code from
the shutdown process -- albeit at the cost of writing
all test entries prior to the shutdown via a manual flush.
As the code involved should be the same either way, this
seems an acceptable solution. However, we may want to
re-visit it once file close proceedure has been tamed.
Tested parallel on mercury.
Note that a failure showed up the h5format_convert tests
on all builds after my first. As all my changes were in
testpar, this almost certainly is un-related. At a guess,
there is an issue with make distclean. At Quincey's
direction, I am proceeding with the checkin.
Note also that the following files
tools/h5format_convert/testfiles/h5fc_edge.h5
tools/h5format_convert/testfiles/h5fc_all.h5
tools/h5format_convert/testfiles/h5fc_new.h5
were modified by my build, and are included in the
subversion archive. I reverted changes to them prior
to this checkin.
Diffstat (limited to 'hl/fortran/src/H5LTfc.c')
0 files changed, 0 insertions, 0 deletions