diff --git a/src/tests/suite/daos_rebuild_common.c b/src/tests/suite/daos_rebuild_common.c index 799b52fede8..10976c7e834 100644 --- a/src/tests/suite/daos_rebuild_common.c +++ b/src/tests/suite/daos_rebuild_common.c @@ -1,5 +1,5 @@ /** - * (C) Copyright 2016-2023 Intel Corporation. + * (C) Copyright 2016-2024 Intel Corporation. * * SPDX-License-Identifier: BSD-2-Clause-Patent */ @@ -1205,12 +1205,9 @@ rebuild_sub_setup_common(void **state, daos_size_t pool_size, int node_nr, uint3 rc = test_setup(state, SETUP_POOL_CONNECT, true, pool_size, node_nr, NULL); if (rc) { - /* Let's skip for this case, since it is possible there - * is not enough ranks here. - */ print_message("It can not create the pool, probably due" " to not enough ranks %d\n", rc); - return 0; + return rc; } arg = *state; diff --git a/src/tests/suite/daos_rebuild_ec.c b/src/tests/suite/daos_rebuild_ec.c index 492ec652624..d80c77945ad 100644 --- a/src/tests/suite/daos_rebuild_ec.c +++ b/src/tests/suite/daos_rebuild_ec.c @@ -265,13 +265,10 @@ rebuild_ec_setup(void **state, int number, uint32_t rf) rc = test_setup(state, SETUP_POOL_CONNECT, true, REBUILD_POOL_SIZE, number, NULL); if (rc) { - /* Let's skip for this case, since it is possible there - * is not enough ranks here. - */ print_message("It can not create the pool with %d ranks" " probably due to not enough ranks %d\n", number, rc); - return 0; + return rc; } arg = *state; diff --git a/src/tests/suite/daos_rebuild_simple.c b/src/tests/suite/daos_rebuild_simple.c index 1616a48d937..f7aab0a3ecf 100644 --- a/src/tests/suite/daos_rebuild_simple.c +++ b/src/tests/suite/daos_rebuild_simple.c @@ -1,5 +1,5 @@ /** - * (C) Copyright 2016-2023 Intel Corporation. + * (C) Copyright 2016-2024 Intel Corporation. * * SPDX-License-Identifier: BSD-2-Clause-Patent */ @@ -927,12 +927,9 @@ rebuild_small_pool_n4_setup(void **state) rc = test_setup(state, SETUP_CONT_CONNECT, true, REBUILD_SMALL_POOL_SIZE, 4, NULL); if (rc) { - /* Let's skip for this case, since it is possible there - * is not enough ranks here. - */ print_message("It can not create the pool with 4 ranks" " probably due to not enough ranks %d\n", rc); - return 0; + return rc; } arg = *state;