Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/tests/suite/daos_rebuild_interactive.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,8 @@ int_rebuild_many_objects_with_failure(void **state)
int rc;
int i;

FAULT_INJECTION_REQUIRED();

if (!test_runable(arg, 6))
return;

Expand Down
10 changes: 10 additions & 0 deletions src/tests/suite/daos_rebuild_simple.c
Original file line number Diff line number Diff line change
Expand Up @@ -1373,6 +1373,8 @@ rebuild_many_objects_with_failure(void **state)
int rc;
int i;

FAULT_INJECTION_REQUIRED();

if (!test_runable(arg, 6))
return;

Expand Down Expand Up @@ -1464,6 +1466,8 @@ rebuild_object_with_csum_error(void **state)
daos_size_t io_count = block_size / transfer_size;
uint32_t iterations = 2;

FAULT_INJECTION_REQUIRED();

if (!test_runable(arg, 3)) {
skip();
}
Expand Down Expand Up @@ -1749,6 +1753,8 @@ rebuild_with_dfs_inflight_append(void **state)
daos_obj_id_t oid;
struct rebuild_cb_arg cb_arg;

FAULT_INJECTION_REQUIRED();

if (!test_runable(arg, 6))
return;

Expand Down Expand Up @@ -1810,6 +1816,8 @@ rebuild_with_dfs_inflight_punch(void **state)
struct stat st;
int rc;

FAULT_INJECTION_REQUIRED();

if (!test_runable(arg, 6))
return;

Expand Down Expand Up @@ -1894,6 +1902,8 @@ rebuild_with_dfs_inflight_append_punch(void **state)
struct stat st;
int rc;

FAULT_INJECTION_REQUIRED();

if (!test_runable(arg, 6))
return;

Expand Down
Loading