Skip to content

Commit

Permalink
DAOS-15852 test: more timing samples for co_op_dup_timing() (#14497)
Browse files Browse the repository at this point in the history
Rarely, this test will produce timings that exceed the failure
threshold. Local and PR/CI experiments have shown that increasing
the test's NUM_OPS to more than 200 iterations greatly reduces
or may eliminate such intermittent timing failures, by "spreading out"
the magnitude of the time spent in the 3 main loops of the test
(0% loops perform fault injections, 33%, and 50%).

Test-tag: test_daos_container
Skip-unit-tests: true
Skip-fault-injection-test: true

Signed-off-by: Kenneth Cain <[email protected]>
  • Loading branch information
kccain committed Oct 15, 2024
1 parent 76cfb41 commit d3c3952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/suite/daos_container.c
Original file line number Diff line number Diff line change
Expand Up @@ -3835,7 +3835,7 @@ co_op_dup_timing(void **state)
size_t const in_sizes[] = {strlen(in_values[0]), strlen(in_values[1])};
int n = (int)ARRAY_SIZE(names);
const unsigned int NUM_FP = 3;
const uint32_t NUM_OPS = 200;
const uint32_t NUM_OPS = 500;
uint32_t num_failures = 0;
const uint32_t SVC_OPS_ENABLED = 1;
const uint32_t SVC_OPS_ENTRY_AGE = 60;
Expand Down

0 comments on commit d3c3952

Please sign in to comment.