Skip to content

Commit 12d448f

Browse files
committed
mtr: increase more timeouts under debuggers
in particular, debug_sync timeout and wait_for_pos timeout
1 parent 429fdb5 commit 12d448f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

mysql-test/lib/My/Debugger.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ sub pre_setup() {
256256
$::opt_suite_timeout= 7 * 24 * 60; # in minutes
257257
$::opt_shutdown_timeout= 24 * 60 *60; # in seconds
258258
$::opt_start_timeout= 24 * 60 * 60; # in seconds
259+
$::opt_debug_sync_timeout= 3000; # in seconds
259260
}
260261
}
261262

mysql-test/mysql-test-run.pl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5662,6 +5662,8 @@ ($)
56625662
mtr_add_arg($args, "--result-file=%s", $tinfo->{'result_file'});
56635663
}
56645664

5665+
mtr_add_arg($args, "--wait-for-pos-timeout=%d", $opt_debug_sync_timeout);
5666+
56655667
client_debug_arg($args, "mysqltest");
56665668

56675669
if ( $opt_record )

0 commit comments

Comments
 (0)