List:Commits« Previous MessageNext Message »
From:Alexander Nozdrin Date:November 2 2006 1:53pm
Subject:bk commit into 5.0 tree (anozdrin:1.2284)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of alik. When alik does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2006-11-02 16:53:14+03:00, anozdrin@booka. +1 -0
  Wait for IM to start accepting connections after restart.

  mysql-test/t/im_daemon_life_cycle.imtest@stripped, 2006-11-02 16:53:12+03:00, anozdrin@booka. +4 -1
    Wait for IM to start accepting connections after restart.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	anozdrin
# Host:	booka.
# Root:	/home/alik/MySQL/devel/5.0-rt-im_daemon_fix

--- 1.6/mysql-test/t/im_daemon_life_cycle.imtest	2006-11-02 16:53:18 +03:00
+++ 1.7/mysql-test/t/im_daemon_life_cycle.imtest	2006-11-02 16:53:18 +03:00
@@ -43,9 +43,12 @@ START INSTANCE mysqld2;
 # FIXME: START INSTANCE should be synchronous.
 --exec $MYSQL_TEST_DIR/t/wait_for_process.sh $IM_MYSQLD2_PATH_PID 30 started
 
-# 2. Restart IM-main: kill it and IM-angel will restart it.
+# 2. Restart IM-main: kill it and IM-angel will restart it; wait for IM to
+# start accepting connections again.
 
 --exec $MYSQL_TEST_DIR/t/kill_n_check.sh $IM_PATH_PID restarted 30
+
+--exec $MYSQL_TEST_DIR/t/wait_for_socket.sh $EXE_MYSQL $IM_PATH_SOCK $IM_USERNAME $IM_PASSWORD '' 30
 
 # 3. Issue some statement -- connection should be re-established.
 
Thread
bk commit into 5.0 tree (anozdrin:1.2284)Alexander Nozdrin2 Nov