Commit 0aff963a authored by unknown's avatar unknown
Browse files

fix for im_life_cycle test: replace im instance port number with a constant string.

The lack of this --replace resulted in the test failing on all build hosts


mysql-test/r/im_life_cycle.result:
  fix result
mysql-test/t/im_life_cycle.imtest:
  replace instance port number in result, as it could be set differently for different
  test runs.
parent 8a92bba6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ instance_name status version
mysqld2	online	VERSION
SHOW VARIABLES LIKE 'port';
Variable_name	Value
port	9312
port	IM_MYSQLD1_PORT
STOP INSTANCE mysqld2;
SHOW INSTANCES;
instance_name	status
+1 −0
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@ SHOW INSTANCE STATUS mysqld2;
--connect (mysql_con,localhost,root,,mysql,$IM_MYSQLD1_PORT,$IM_MYSQLD1_SOCK)
--connection mysql_con

--replace_result $IM_MYSQLD1_PORT IM_MYSQLD1_PORT
SHOW VARIABLES LIKE 'port';

--connection default