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
b860712e
Commit
b860712e
authored
Apr 27, 2008
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase start timeout when running parallell
Fix comments
parent
10f4f783
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
5 deletions
+14
-5
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+14
-5
No files found.
mysql-test/mysql-test-run.pl
View file @
b860712e
...
@@ -151,10 +151,10 @@ my $opt_mark_progress;
...
@@ -151,10 +151,10 @@ my $opt_mark_progress;
my
$opt_sleep
;
my
$opt_sleep
;
my
$opt_testcase_timeout
=
15
;
#
15
minutes
my
$opt_testcase_timeout
=
15
;
# minutes
my
$opt_suite_timeout
=
180
;
#
3 hour
s
my
$opt_suite_timeout
=
180
;
#
minute
s
my
$opt_shutdown_timeout
=
10
;
#
10
seconds
my
$opt_shutdown_timeout
=
10
;
# seconds
my
$opt_start_timeout
=
30
;
#
30
seconds
my
$opt_start_timeout
=
30
;
# seconds
my
$opt_start
;
my
$opt_start
;
my
$opt_start_dirty
;
my
$opt_start_dirty
;
...
@@ -162,7 +162,7 @@ my $opt_repeat= 1;
...
@@ -162,7 +162,7 @@ my $opt_repeat= 1;
my
$opt_retry
=
3
;
my
$opt_retry
=
3
;
my
$opt_retry_failure
=
2
;
my
$opt_retry_failure
=
2
;
my
$opt_parallel
=
4
;
my
$opt_parallel
;
my
$opt_strace_client
;
my
$opt_strace_client
;
...
@@ -217,6 +217,10 @@ sub main {
...
@@ -217,6 +217,10 @@ sub main {
Getopt::Long::
Configure
("
pass_through
");
Getopt::Long::
Configure
("
pass_through
");
GetOptions
('
parallel=i
'
=>
\
$opt_parallel
)
or
usage
("
Can't read options
");
GetOptions
('
parallel=i
'
=>
\
$opt_parallel
)
or
usage
("
Can't read options
");
if
(
not
defined
$opt_parallel
){
$opt_parallel
=
4
;
# Default
}
# Create server socket on any free port
# Create server socket on any free port
my
$server
=
new
IO::Socket::
INET
my
$server
=
new
IO::Socket::
INET
(
(
...
@@ -985,6 +989,11 @@ sub command_line_setup {
...
@@ -985,6 +989,11 @@ sub command_line_setup {
}
}
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
# Set timeout values
# --------------------------------------------------------------------------
$opt_start_timeout
*=
$opt_parallel
;
#
# Check valgrind arguments
# Check valgrind arguments
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
if
(
$opt_valgrind
or
$opt_valgrind_path
or
@valgrind_args
)
if
(
$opt_valgrind
or
$opt_valgrind_path
or
@valgrind_args
)
...
...
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