mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-27 08:01:04 +08:00
Fix potential infinite loop in API test (#3960)
This commit is contained in:
parent
424f3803ea
commit
853a7c6c9c
@ -8531,7 +8531,7 @@ test_dataset_compound_partial_io(void)
|
||||
|
||||
/* Write data */
|
||||
if (H5Dwrite(dset_id, b_type_id, H5S_ALL, H5S_ALL, H5P_DEFAULT, wbuf) < 0)
|
||||
PART_TEST_ERROR(write_full_read_full);
|
||||
PART_TEST_ERROR(write_b_read_full);
|
||||
|
||||
/* Update fbuf to match file state - only element b was updated */
|
||||
for (i = 0; i < DATASET_COMPOUND_PARTIAL_IO_DSET_DIMS; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user