Skip to content

Commit

Permalink
Fix potential infinite loop in API test (#3960)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjala authored Jan 25, 2024
1 parent 424f380 commit 853a7c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/API/H5_api_dataset_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down

0 comments on commit 853a7c6

Please sign in to comment.