summaryrefslogtreecommitdiffstats
path: root/testpar/t_dset.c
diff options
context:
space:
mode:
authorJordan Henderson <jhenderson@hdfgroup.org>2017-08-15 21:36:26 (GMT)
committerJordan Henderson <jhenderson@hdfgroup.org>2017-08-15 21:36:26 (GMT)
commit1cf7c7ecc90b408fed818b00153a2d36295da801 (patch)
tree621b8aa9a857c497d8ddc422eab7f6b08324a91f /testpar/t_dset.c
parent85699e41c26e27fa0259a631a04388790b6e82ae (diff)
downloadhdf5-1cf7c7ecc90b408fed818b00153a2d36295da801.zip
hdf5-1cf7c7ecc90b408fed818b00153a2d36295da801.tar.gz
hdf5-1cf7c7ecc90b408fed818b00153a2d36295da801.tar.bz2
Modify t_dset.c in lieu of Parallel Compression changes
Diffstat (limited to 'testpar/t_dset.c')
-rw-r--r--testpar/t_dset.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/testpar/t_dset.c b/testpar/t_dset.c
index b952bf3..65d1bb4 100644
--- a/testpar/t_dset.c
+++ b/testpar/t_dset.c
@@ -2651,11 +2651,8 @@ compress_readAll(void)
nerrors++;
}
- /* Writing to the compressed, chunked dataset in parallel should fail */
- H5E_BEGIN_TRY {
- ret = H5Dwrite(dataset, H5T_NATIVE_INT, H5S_ALL, H5S_ALL, xfer_plist, data_read);
- } H5E_END_TRY;
- VRFY((ret < 0), "H5Dwrite failed");
+ ret = H5Dwrite(dataset, H5T_NATIVE_INT, H5S_ALL, H5S_ALL, xfer_plist, data_read);
+ VRFY((ret >= 0), "H5Dwrite succeeded");
ret = H5Pclose(xfer_plist);
VRFY((ret >= 0), "H5Pclose succeeded");