Merge lp:~percona-dev/percona-xtrabackup/test_543134 into lp:percona-xtrabackup/2.0

Proposed by Valentine Gostev
Status: Merged
Approved by: Alexey Kopytov
Approved revision: no longer in the source branch.
Merged at revision: 246
Proposed branch: lp:~percona-dev/percona-xtrabackup/test_543134
Merge into: lp:percona-xtrabackup/2.0
Diff against target: 24 lines (+20/-0)
1 file modified
test/disabled/xb_lru_dump.sh (+20/-0)
To merge this branch: bzr merge lp:~percona-dev/percona-xtrabackup/test_543134
Reviewer Review Type Date Requested Status
Alexey Kopytov (community) Approve
Review via email: mp+55505@code.launchpad.net

This proposal supersedes a proposal from 2011-03-27.

Description of the change

Added test for lru dump restore

To post a comment you must log in.
Revision history for this message
Alexey Kopytov (akopytov) wrote : Posted in a previous version of this proposal

Valentine,

As this is a test case for an unimplemented feature, shouldn't it go to the 'disabled' suite? Or you're going to merge it after the feature is implemented?

review: Needs Fixing
Revision history for this message
Alexey Kopytov (akopytov) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'test/disabled/xb_lru_dump.sh'
2--- test/disabled/xb_lru_dump.sh 1970-01-01 00:00:00 +0000
3+++ test/disabled/xb_lru_dump.sh 2011-03-30 10:34:05 +0000
4@@ -0,0 +1,20 @@
5+. inc/common.sh
6+
7+init
8+run_mysqld
9+
10+run_cmd ${MYSQL} ${MYSQL_ARGS} -e "select * from information_schema.XTRADB_ADMIN_COMMAND /*!XTRA_LRU_DUMP*/;"
11+
12+mkdir -p $topdir/backup
13+run_cmd ${XB_BIN} --datadir=$mysql_datadir --backup --target-dir=$topdir/backup
14+
15+stop_mysqld
16+
17+if [ -f $topdir/backup/ib_lru_dump ]
18+then
19+ vlog "LRU dump has been backuped"
20+ clean
21+else
22+ vlog "LRU dump was not backuped"
23+ exit -1
24+fi

Subscribers

People subscribed via source and target branches