Needs to sync with lib version and Sencode.
This commit is contained in:
@@ -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_UNSUPPORTED) {
|
||||
err.printStackTrace();
|
||||
fail("H5P_evict_on_close: " + err);
|
||||
}
|
||||
}
|
||||
catch (Throwable err) {
|
||||
err.printStackTrace();
|
||||
fail("H5P_evict_on_close: " + err);
|
||||
|
||||
Reference in New Issue
Block a user