Skip to content

Commit

Permalink
mtr: increase more timeouts under debuggers
Browse files Browse the repository at this point in the history
in particular, debug_sync timeout and wait_for_pos timeout
  • Loading branch information
vuvova committed Apr 5, 2024
1 parent 429fdb5 commit 12d448f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions mysql-test/lib/My/Debugger.pm
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ sub pre_setup() {
$::opt_suite_timeout= 7 * 24 * 60; # in minutes
$::opt_shutdown_timeout= 24 * 60 *60; # in seconds
$::opt_start_timeout= 24 * 60 * 60; # in seconds
$::opt_debug_sync_timeout= 3000; # in seconds
}
}

Expand Down
2 changes: 2 additions & 0 deletions mysql-test/mysql-test-run.pl
Original file line number Diff line number Diff line change
Expand Up @@ -5662,6 +5662,8 @@ ($)
mtr_add_arg($args, "--result-file=%s", $tinfo->{'result_file'});
}

mtr_add_arg($args, "--wait-for-pos-timeout=%d", $opt_debug_sync_timeout);

client_debug_arg($args, "mysqltest");

if ( $opt_record )
Expand Down

0 comments on commit 12d448f

Please sign in to comment.