diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2013-07-31 06:59:39 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2013-07-31 06:59:39 (GMT) |
commit | 769649c1001b72e28376607f9e774a1187388f8f (patch) | |
tree | 22df4e89500d1b369b615d74b78df5bfc3810144 /c++ | |
parent | 21130b20b8b242b7c567f008f4d88be02f66b839 (diff) | |
download | hdf5-769649c1001b72e28376607f9e774a1187388f8f.zip hdf5-769649c1001b72e28376607f9e774a1187388f8f.tar.gz hdf5-769649c1001b72e28376607f9e774a1187388f8f.tar.bz2 |
[svn-r23950] Description:
There seem to be some objects still left open, so the file was not closed
properly and caused failure on OpenVMS, because on that platform, more than
one file cannot be opened at the same time (according to Ray.)
Added setFcloseDegree(H5F_CLOSE_STRONG) to test_dset() to eliminate the
failure temporarily, until the opened objects can be located and closed properly.
Platforms tested:
Linux/32 2.6 (jam) with GNU compilers
SunOS 5.11 (emu)
Diffstat (limited to 'c++')
-rw-r--r-- | c++/test/dsets.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/c++/test/dsets.cpp b/c++/test/dsets.cpp index a24f5f1..1416a08 100644 --- a/c++/test/dsets.cpp +++ b/c++/test/dsets.cpp @@ -1054,6 +1054,10 @@ void test_dset() // list object to pass in H5File::H5File FileAccPropList fapl(fapl_id); + // This is to work around the failure on OpenVMS, until an open objects + // can be found and closed. -BMR + fapl.setFcloseDegree(H5F_CLOSE_STRONG); + H5File file(FILE1, H5F_ACC_TRUNC, FileCreatPropList::DEFAULT, fapl); // Cause the library to emit initial messages |