~vkolesnikov/pbxt/pbxt-07-diskfull

« back to all changes in this revision

Viewing changes to pbxt/mysql-test-update/mysql-test/include/im_check_env.inc

  • Committer: paul-mccullagh
  • Date: 2006-10-23 09:14:04 UTC
  • Revision ID: paul-mccullagh-918861e03d351978a9541168a96e58cc826734ee
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This file is intended to be used in each IM-test. It contains stamements,
 
2
# that ensure that starting conditions (environment) for the IM-test are as
 
3
# expected.
 
4
 
 
5
# Check the running instances.
 
6
 
 
7
--connect (mysql1_con,localhost,root,,mysql,$IM_MYSQLD1_PORT,$IM_MYSQLD1_SOCK)
 
8
 
 
9
--connection mysql1_con
 
10
 
 
11
SHOW VARIABLES LIKE 'server_id';
 
12
 
 
13
--source include/not_windows.inc
 
14
 
 
15
--connection default
 
16
 
 
17
# Let IM detect that mysqld1 is online. This delay should be longer than
 
18
# monitoring interval.
 
19
 
 
20
--sleep 2
 
21
 
 
22
# Check that IM understands that mysqld1 is online, while mysqld2 is
 
23
# offline.
 
24
 
 
25
SHOW INSTANCES;