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
18ccbf01
Commit
18ccbf01
authored
Jan 08, 2018
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the MDEV-14874 test case more robust
parent
29b6e809
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
mysql-test/suite/mariabackup/huge_lsn.result
mysql-test/suite/mariabackup/huge_lsn.result
+2
-1
mysql-test/suite/mariabackup/huge_lsn.test
mysql-test/suite/mariabackup/huge_lsn.test
+3
-1
No files found.
mysql-test/suite/mariabackup/huge_lsn.result
View file @
18ccbf01
...
@@ -2,10 +2,11 @@
...
@@ -2,10 +2,11 @@
# MDEV-13416 mariabackup fails with EFAULT "Bad Address"
# MDEV-13416 mariabackup fails with EFAULT "Bad Address"
#
#
call mtr.add_suppression("InnoDB: New log files created");
call mtr.add_suppression("InnoDB: New log files created");
FOUND /InnoDB:
.*started; log sequence number 17596481010700
/ in mysqld.1.err
FOUND /InnoDB:
New log files created, LSN=175964\d{8}
/ in mysqld.1.err
CREATE TABLE t(i INT) ENGINE INNODB;
CREATE TABLE t(i INT) ENGINE INNODB;
INSERT INTO t VALUES(1);
INSERT INTO t VALUES(1);
# xtrabackup backup
# xtrabackup backup
SET GLOBAL innodb_flush_log_at_trx_commit=1;
INSERT INTO t VALUES(2);
INSERT INTO t VALUES(2);
# xtrabackup prepare
# xtrabackup prepare
# shutdown server
# shutdown server
...
...
mysql-test/suite/mariabackup/huge_lsn.test
View file @
18ccbf01
...
@@ -28,8 +28,9 @@ EOF
...
@@ -28,8 +28,9 @@ EOF
--
remove_files_wildcard
$MYSQLD_DATADIR
ib_logfile
*
--
remove_files_wildcard
$MYSQLD_DATADIR
ib_logfile
*
--
source
include
/
start_mysqld
.
inc
--
source
include
/
start_mysqld
.
inc
let
SEARCH_RANGE
=
-
50000
;
let
SEARCH_FILE
=
$MYSQLTEST_VARDIR
/
log
/
mysqld
.
1.
err
;
let
SEARCH_FILE
=
$MYSQLTEST_VARDIR
/
log
/
mysqld
.
1.
err
;
--
let
SEARCH_PATTERN
=
InnoDB
:
.*
started
;
log
sequence
number
17596481010700
--
let
SEARCH_PATTERN
=
InnoDB
:
New
log
files
created
,
LSN
=
175964
\d
{
8
}
--
source
include
/
search_pattern_in_file
.
inc
--
source
include
/
search_pattern_in_file
.
inc
CREATE
TABLE
t
(
i
INT
)
ENGINE
INNODB
;
CREATE
TABLE
t
(
i
INT
)
ENGINE
INNODB
;
...
@@ -40,6 +41,7 @@ let $targetdir=$MYSQLTEST_VARDIR/tmp/backup;
...
@@ -40,6 +41,7 @@ let $targetdir=$MYSQLTEST_VARDIR/tmp/backup;
--
disable_result_log
--
disable_result_log
exec
$XTRABACKUP
--
defaults
-
file
=
$MYSQLTEST_VARDIR
/
my
.
cnf
--
backup
--
target
-
dir
=
$targetdir
;
exec
$XTRABACKUP
--
defaults
-
file
=
$MYSQLTEST_VARDIR
/
my
.
cnf
--
backup
--
target
-
dir
=
$targetdir
;
--
enable_result_log
--
enable_result_log
SET
GLOBAL
innodb_flush_log_at_trx_commit
=
1
;
INSERT
INTO
t
VALUES
(
2
);
INSERT
INTO
t
VALUES
(
2
);
echo
# xtrabackup prepare;
echo
# xtrabackup prepare;
--
disable_result_log
--
disable_result_log
...
...
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