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
1764f487
Commit
1764f487
authored
Oct 05, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Print warning message if test was failed becuase of cluster install failure
Improve check of wheter test case need slave cluster
parent
bf120e18
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
13 deletions
+16
-13
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+16
-13
No files found.
mysql-test/mysql-test-run.pl
View file @
1764f487
...
@@ -2619,22 +2619,25 @@ sub run_testcase_check_skip_test($)
...
@@ -2619,22 +2619,25 @@ sub run_testcase_check_skip_test($)
return
1
;
return
1
;
}
}
# If test needs cluster, check that master installed ok
if
(
$tinfo
->
{'
ndb_test
'})
if
(
$tinfo
->
{'
ndb_test
'}
and
!
$clusters
->
[
0
]
->
{'
installed_ok
'}
)
{
{
mtr_report_test_name
(
$tinfo
);
foreach
my
$cluster
(
@
{
$clusters
})
mtr_report_test_failed
(
$tinfo
);
{
return
1
;
last
if
(
$opt_skip_ndbcluster_slave
and
}
$cluster
->
{'
name
'}
eq
'
Slave
');
# If test needs slave cluster, check that it installed ok
# If test needs this cluster, check it was installed ok
if
(
$tinfo
->
{'
ndb_test
'}
and
$tinfo
->
{'
slave_num
'}
and
if
(
!
$cluster
->
{'
installed_ok
'}
)
!
$clusters
->
[
1
]
->
{'
installed_ok
'}
)
{
{
mtr_tofile
(
$path_timefile
,
"
Test marked as failed because
$cluster
->{'name'}
"
.
"
was not installed ok!
");
mtr_report_test_name
(
$tinfo
);
mtr_report_test_name
(
$tinfo
);
mtr_report_test_failed
(
$tinfo
);
mtr_report_test_failed
(
$tinfo
);
return
1
;
return
1
;
}
}
}
}
return
0
;
return
0
;
}
}
...
...
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