~akopytov/percona-xtrabackup/pxb-157-2.1

« back to all changes in this revision

Viewing changes to test/t/bug983720_galerainfo.sh

  • Committer: Alexey Kopytov
  • Date: 2014-04-30 04:46:57 UTC
  • Revision ID: akopytov@gmail.com-20140430044657-f4xx45pgts9lfx6h
PXB-157: Failing galera55 builds in PXB Jenkins

The problem was that with addition of galera3 paths to libgalera_smm.so
have changed in PXC 5.5, but not in PXB 5.6 (yet).

Fixed by checking the location of libgalera_smm.so on startup in run.sh,
and using the $LIBGALERA_PATH variable set in run.sh instead of
hard-coded paths in tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
galera_port=`get_free_port 2`
19
19
 
20
 
start_server --log-bin=`hostname`-bin --binlog-format=ROW --wsrep-provider=${MYSQL_BASEDIR}/lib/libgalera_smm.so --wsrep_cluster_address=gcomm:// $debug --wsrep_provider_options="base_port=${galera_port}${pdebug}" --wsrep_node_address=$ADDR
 
20
start_server --log-bin=`hostname`-bin --binlog-format=ROW \
 
21
             --wsrep-provider=$LIBGALERA_PATH \
 
22
             --wsrep_cluster_address=gcomm:// $debug \
 
23
             --wsrep_provider_options="base_port=${galera_port}${pdebug}" \
 
24
             --wsrep_node_address=$ADDR
21
25
 
22
26
# take a backup with stream mode
23
27
mkdir -p $topdir/backup