Skip to content

Commit

Permalink
DAOS-16802 tests: properly set fault_injection for CR test - b26
Browse files Browse the repository at this point in the history
Test-tag: test_daos_cat_recov_core
Allow-unstable-test: true
faults-enabled: false

Signed-off-by: Fan Yong <[email protected]>
  • Loading branch information
Nasf-Fan committed Dec 19, 2024
1 parent 142a112 commit 09b2846
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/suite/daos_cr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1945,8 +1945,6 @@ cr_pause(void **state, bool force)
int rc;
int i;

FAULT_INJECTION_REQUIRED();

rc = cr_pool_create(state, &pool, false, class);
assert_rc_equal(rc, 0);

Expand Down Expand Up @@ -3675,6 +3673,8 @@ cr_maintenance_mode(void **state)
struct daos_check_info dci = { 0 };
int rc;

FAULT_INJECTION_REQUIRED();

print_message("CR28: maintenance mode after dry-run check\n");

rc = cr_pool_create(state, &pool, true, TCC_NONE);
Expand Down

0 comments on commit 09b2846

Please sign in to comment.