From 96df8308d8c52bb0f6845047d946850130dbc78a Mon Sep 17 00:00:00 2001 From: Matthew Larson Date: Thu, 25 Jan 2024 10:10:19 -0600 Subject: [PATCH] Fix potential infinite loop in API test --- test/API/H5_api_dataset_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/API/H5_api_dataset_test.c b/test/API/H5_api_dataset_test.c index df22fefc53a..c183697f537 100644 --- a/test/API/H5_api_dataset_test.c +++ b/test/API/H5_api_dataset_test.c @@ -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++) {