Skip to content

Commit

Permalink
Merge pull request #183 from DillionApple/master
Browse files Browse the repository at this point in the history
Fix tx_depth when test method is RUN_INFINITELY
  • Loading branch information
HassanKhadour authored Nov 29, 2022
2 parents d8399e8 + 6339ae3 commit 4902040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/perftest_parameters.c
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ void flow_rules_force_dependecies(struct perftest_parameters *user_param)
static void force_dependecies(struct perftest_parameters *user_param)
{
/*Additional configuration and assignments.*/
if (user_param->test_type == ITERATIONS) {
if (user_param->test_method != RUN_INFINITELY && user_param->test_type == ITERATIONS) {
if (user_param->tx_depth > user_param->iters) {
user_param->tx_depth = user_param->iters;
}
Expand Down

0 comments on commit 4902040

Please sign in to comment.