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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
e59b1980
Commit
e59b1980
authored
Aug 31, 2010
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #56383 provide option to restart mysqld after each mtr test
Added --force-restart
parent
c3f69b41
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+8
-0
No files found.
mysql-test/mysql-test-run.pl
View file @
e59b1980
...
...
@@ -225,6 +225,7 @@ my $opt_repeat= 1;
my
$opt_retry
=
3
;
my
$opt_retry_failure
=
env_or_val
(
MTR_RETRY_FAILURE
=>
2
);
my
$opt_reorder
=
1
;
my
$opt_force_restart
=
0
;
my
$opt_strace_client
;
...
...
@@ -924,6 +925,7 @@ sub command_line_setup {
'
report-features
'
=>
\
$opt_report_features
,
'
comment=s
'
=>
\
$opt_comment
,
'
fast
'
=>
\
$opt_fast
,
'
force-restart
'
=>
\
$opt_force_restart
,
'
reorder!
'
=>
\
$opt_reorder
,
'
enable-disabled
'
=>
\&
collect_option
,
'
verbose+
'
=>
\
$opt_verbose
,
...
...
@@ -4512,6 +4514,11 @@ sub server_need_restart {
return
1
;
}
if
(
$opt_force_restart
)
{
mtr_verbose_restart
(
$server
,
"
forced restart turned on
");
return
1
;
}
if
(
$tinfo
->
{
template_path
}
ne
$current_config_name
)
{
mtr_verbose_restart
(
$server
,
"
using different config file
");
...
...
@@ -5541,6 +5548,7 @@ Misc options
servers to exit before finishing the process
fast Run as fast as possible, dont't wait for servers
to shutdown etc.
force-restart Always restart servers between tests
parallel=N Run tests in N parallel threads (default=1)
Use parallel=auto for auto-setting of N
repeat=N Run each test N number of times
...
...
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