From: MARK CALLAGHAN Date: April 9 2012 7:19pm Subject: Re: crashing server during a mysql test List-Archive: http://lists.mysql.com/internals/38494 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable For deterministic kill it can be done via the test/debug macros. We do this frequently in tests added to the Facebook patch. Official MySQL has very few crash recovery tests. Here is an example: http://bazaar.launchpad.net/~mysqlatfacebook/mysqlatfacebook/5.1/view/head:= /mysql-test/t/crash_commit_before.test Grep server source for "crash_commit_before" to see how this is done http://bazaar.launchpad.net/~mysqlatfacebook/mysqlatfacebook/5.1/view/head:= /sql/handler.cc On Mon, Apr 9, 2012 at 12:02 PM, Zardosht Kasheff wrot= e: > Hello all, > > Is there a way to kill a server in the MySQL test framework? I > understand that --shutdown_server num_seconds will shut the server > down, and if the server has not gone down after num_seconds, the > process will be killed, but I am looking for something that guarantees > a kill. > > Thanks > -Zardosht > > -- > MySQL Internals Mailing List > For list archives: http://lists.mysql.com/internals > To unsubscribe: =A0 =A0http://lists.mysql.com/internals > --=20 Mark Callaghan mdcallag@stripped