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
cade21b4
Commit
cade21b4
authored
Mar 22, 2022
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-27775 : Some Galera tests fail on FreeBSD due to "unknown signal 9"
Replace 9 with KILL
parent
8f4d7e36
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
14 deletions
+3
-14
mysql-test/suite/galera/include/kill_galera.inc
mysql-test/suite/galera/include/kill_galera.inc
+1
-1
mysql-test/suite/galera/r/galera_ist_restart_joiner.result
mysql-test/suite/galera/r/galera_ist_restart_joiner.result
+1
-0
mysql-test/suite/galera/t/galera_ist_restart_joiner.test
mysql-test/suite/galera/t/galera_ist_restart_joiner.test
+1
-13
No files found.
mysql-test/suite/galera/include/kill_galera.inc
View file @
cade21b4
...
...
@@ -16,7 +16,7 @@ if (!$kill_signal)
--
let
KILL_NODE_PIDFILE
=
`SELECT @@pid_file`
--
perl
my
$kill_sig
=
$ENV
{
'KILL_SIGNAL_VALUE'
}
my
$kill_sig
=
$ENV
{
'KILL_SIGNAL_VALUE'
}
;
my
$pid_filename
=
$ENV
{
'KILL_NODE_PIDFILE'
};
my
$mysqld_pid
=
`cat $pid_filename`
;
chomp
(
$mysqld_pid
);
...
...
mysql-test/suite/galera/r/galera_ist_restart_joiner.result
View file @
cade21b4
...
...
@@ -16,6 +16,7 @@ SET SESSION wsrep_on=ON;
connection node_1;
UPDATE t1 SET f2 = 'd' WHERE f1 > 3;
connection node_2;
Killing server ...
connection node_1;
UPDATE t1 SET f2 = 'e' WHERE f1 > 4;
connection node_2;
...
...
mysql-test/suite/galera/t/galera_ist_restart_joiner.test
View file @
cade21b4
...
...
@@ -63,19 +63,7 @@ UPDATE t1 SET f2 = 'd' WHERE f1 > 3;
# Kill node #2 while IST is in progress
--
connection
node_2
# Kill the connected server
--
disable_reconnect
--
perl
my
$pid_filename
=
$ENV
{
'KILL_NODE_PIDFILE'
};
my
$mysqld_pid
=
`cat $pid_filename`
;
chomp
(
$mysqld_pid
);
system
(
"kill -9
$mysqld_pid
"
);
exit
(
0
);
EOF
--
source
include
/
wait_until_disconnected
.
inc
--
source
include
/
kill_galera
.
inc
--
connection
node_1
--
source
include
/
wait_until_connected_again
.
inc
...
...
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