Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
5902d5e0
Commit
5902d5e0
authored
Sep 13, 2020
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added wait-for-pos-timeout=NUM argument to mtr
Other things: - Updated help text for --gdb
parent
f9c432c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+12
-5
No files found.
mysql-test/mysql-test-run.pl
View file @
5902d5e0
...
@@ -321,6 +321,7 @@ my $opt_start_timeout = $ENV{MTR_START_TIMEOUT} || 180; # seconds
...
@@ -321,6 +321,7 @@ my $opt_start_timeout = $ENV{MTR_START_TIMEOUT} || 180; # seconds
sub
suite_timeout
{
return
$opt_suite_timeout
*
60
;
};
sub
suite_timeout
{
return
$opt_suite_timeout
*
60
;
};
my
$opt_wait_all
;
my
$opt_wait_all
;
my
$opt_wait_for_pos_timeout
;
my
$opt_user_args
;
my
$opt_user_args
;
my
$opt_repeat
=
1
;
my
$opt_repeat
=
1
;
my
$opt_retry
=
1
;
my
$opt_retry
=
1
;
...
@@ -1229,6 +1230,7 @@ sub command_line_setup {
...
@@ -1229,6 +1230,7 @@ sub command_line_setup {
'
verbose+
'
=>
\
$opt_verbose
,
'
verbose+
'
=>
\
$opt_verbose
,
'
verbose-restart
'
=>
\&
report_option
,
'
verbose-restart
'
=>
\&
report_option
,
'
sleep=i
'
=>
\
$opt_sleep
,
'
sleep=i
'
=>
\
$opt_sleep
,
'
wait-for-pos-timeout=i
'
=>
\
$opt_wait_for_pos_timeout
,
'
start-dirty
'
=>
\
$opt_start_dirty
,
'
start-dirty
'
=>
\
$opt_start_dirty
,
'
start-and-exit
'
=>
\
$opt_start_exit
,
'
start-and-exit
'
=>
\
$opt_start_exit
,
'
start
'
=>
\
$opt_start
,
'
start
'
=>
\
$opt_start
,
...
@@ -5824,11 +5826,15 @@ sub start_mysqltest ($) {
...
@@ -5824,11 +5826,15 @@ sub start_mysqltest ($) {
mtr_add_arg
(
$args
,
"
--sleep=%d
",
$opt_sleep
);
mtr_add_arg
(
$args
,
"
--sleep=%d
",
$opt_sleep
);
}
}
if
(
$opt_valgrind
)
if
(
$opt_valgrind
||
$opt_wait_for_pos_timeout
)
{
{
# We are running server under valgrind, which causes some replication
if
(
!
$opt_wait_for_pos_timeout
)
# test to be much slower, notable rpl_mdev6020. Increase timeout.
{
mtr_add_arg
(
$args
,
"
--wait-for-pos-timeout=1500
");
# We are running server under valgrind, which causes some replication
# test to be much slower, notable rpl_mdev6020. Increase timeout.
$opt_wait_for_pos_timeout
=
1500
;
}
mtr_add_arg
(
$args
,
"
--wait-for-pos-timeout=
$opt_wait_for_pos_timeout
");
}
}
if
(
$opt_ssl
)
if
(
$opt_ssl
)
...
@@ -6456,7 +6462,7 @@ Options for debugging the product
...
@@ -6456,7 +6462,7 @@ Options for debugging the product
debug-server Use debug version of server, but without turning on
debug-server Use debug version of server, but without turning on
tracing
tracing
debugger=NAME Start mysqld in the selected debugger
debugger=NAME Start mysqld in the selected debugger
gdb
Start the mysqld(s) in gdb
gdb
[=gdb-arguments] Start the mysqld(s) in gdb.
manual-debug Let user manually start mysqld in debugger, before
manual-debug Let user manually start mysqld in debugger, before
running test(s)
running test(s)
manual-gdb Let user manually start mysqld in gdb, before running
manual-gdb Let user manually start mysqld in gdb, before running
...
@@ -6563,6 +6569,7 @@ Misc options
...
@@ -6563,6 +6569,7 @@ Misc options
the file (for buildbot)
the file (for buildbot)
sleep=SECONDS Passed to mysqltest, will be used as fixed sleep time
sleep=SECONDS Passed to mysqltest, will be used as fixed sleep time
wait-for-pos-timeout=NUM Passed to mysqltest
debug-sync-timeout=NUM Set default timeout for WAIT_FOR debug sync
debug-sync-timeout=NUM Set default timeout for WAIT_FOR debug sync
actions. Disable facility with NUM=0.
actions. Disable facility with NUM=0.
gcov Collect coverage information after the test.
gcov Collect coverage information after the test.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment