summaryrefslogtreecommitdiffstats
path: root/java/test/TestH5Pfapl.java
diff options
context:
space:
mode:
authorM. Scot Breitenfeld <brtnfld@hdfgroup.org>2018-03-02 23:04:02 (GMT)
committerM. Scot Breitenfeld <brtnfld@hdfgroup.org>2018-03-02 23:04:02 (GMT)
commit3dcc827771d147146a714831f63fbe12af99ce30 (patch)
treef96444681ab9138feab82dbb88c76ee422b07664 /java/test/TestH5Pfapl.java
parentec361559b3a78126e70ec4abd74a98d5faff53f0 (diff)
parenta30da017cc0c0d981d384afad2c074ad5a65d618 (diff)
downloadhdf5-3dcc827771d147146a714831f63fbe12af99ce30.zip
hdf5-3dcc827771d147146a714831f63fbe12af99ce30.tar.gz
hdf5-3dcc827771d147146a714831f63fbe12af99ce30.tar.bz2
Merge branch 'develop' into avoid_trunc_beta
Diffstat (limited to 'java/test/TestH5Pfapl.java')
-rw-r--r--java/test/TestH5Pfapl.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/java/test/TestH5Pfapl.java b/java/test/TestH5Pfapl.java
index 48a5986..51fa4df 100644
--- a/java/test/TestH5Pfapl.java
+++ b/java/test/TestH5Pfapl.java
@@ -26,6 +26,7 @@ import hdf.hdf5lib.H5;
import hdf.hdf5lib.HDF5Constants;
import hdf.hdf5lib.exceptions.HDF5Exception;
import hdf.hdf5lib.exceptions.HDF5LibraryException;
+import hdf.hdf5lib.exceptions.HDF5PropertyListInterfaceException;
import hdf.hdf5lib.structs.H5AC_cache_config_t;
import org.junit.After;
@@ -1385,6 +1386,13 @@ public class TestH5Pfapl {
ret_val_id = H5.H5Pget_evict_on_close(fapl_id);
assertTrue("H5P_evict_on_close", ret_val_id);
}
+ catch (HDF5PropertyListInterfaceException err) {
+ // parallel is not supported
+ if (err.getMinorErrorNumber() != HDF5Constants.H5E_CANTSET) {
+ err.printStackTrace();
+ fail("H5P_evict_on_close: " + err);
+ }
+ }
catch (Throwable err) {
err.printStackTrace();
fail("H5P_evict_on_close: " + err);