Commit Graph

27 Commits

Author SHA1 Message Date
Daniel Nichter
b966a0f4a3 Use ps xww because w isn't wide enough on deb with long jenkins paths. 2013-08-10 19:38:34 -07:00
Daniel Nichter
fe0e2f21c0 Add some more debug info for the deb6 failure. 2013-08-10 19:33:37 -07:00
Daniel Nichter
368dde58f1 Create log file too to help avoid race conditions because it's created only by the child. 2013-08-10 19:26:19 -07:00
Daniel Nichter
2b747d7ee3 Just run test 3 times. 2013-08-10 19:17:21 -07:00
Daniel Nichter
299a61417a Use get_cmd_pid() again to avoid race condition. 2013-08-10 19:09:31 -07:00
Daniel Nichter
3c45ce2eb3 Use get_cmd_pid() instead of slurping pid file because there's a race condition in pid file creation for which pid it contains (parent's or child's). 2013-08-10 19:02:32 -07:00
Daniel Nichter
5239779066 Add more debug info for 'Cannot find fd 0 symlink' failure. 2013-08-10 08:53:08 -07:00
Daniel Nichter
8ec7ccdbe7 Stabilize t/lib/Daemon.t. Add PerconaTest::get_cmd_pid(). 2013-08-10 08:27:09 -07:00
Daniel Nichter
3d5325ae03 Rewrite Daemon.pm: don't require an OptionParser, one public func, run(), that does the whole daemonize process or just check the PID file. 2013-04-05 12:16:16 -06:00
Daniel Nichter
376572e637 Merge fix-995896-cat-in-daemon 2012-10-30 17:04:22 -06:00
Daniel Nichter
c8b31431b0 Handle slurp_file error specifically. Fix Daemon.t test plans. 2012-10-30 16:57:06 -06:00
Daniel Nichter
3bb0694d1d Re-enable Daemon.t. 2012-08-15 13:03:30 -06:00
Daniel Nichter
b5d7e7d0b6 More debug hacks. 2012-08-15 12:58:55 -06:00
Brian Fraser
a948014991 t/lib/Daemon.t: Tweak the tests to hopefully avoid white smoke 2012-07-23 12:28:55 -03:00
Daniel Nichter
8d344b421b Skip Daemon.t test that's not reliable, and wait until pid file is gone. Call wipe_clean() in pt-table-sync/bidirectional.t and pt-table-sync/issue_1065.t. 2012-06-06 09:07:43 -07:00
Brian Fraser fraserb@gmail.com
85e9996b55 t/lib/Daemon.t: Make the timing tests slightly more forgiving for slow machines 2012-06-06 11:40:03 -03:00
Daniel Nichter
0539775d24 Always close STDIN if --daemonize. 2012-02-14 10:54:02 -07:00
Daniel Nichter
c67adc1a8f More Daemon debugging. 2012-02-14 10:20:40 -07:00
Daniel Nichter
e9f6325592 Add hires timestamp to PTDEVDEBUG. Debug daemonize.pl. Make wait_until() defaults shorter. 2012-02-14 09:31:47 -07:00
Daniel Nichter
c943f7a0da Debug Daemon.t failures. 2012-02-14 08:58:10 -07:00
Daniel Nichter
d1bd7a9f3b Change MKDEBUG to PTDEBUG. Remove 1.0.2 from release notes. 2011-12-30 09:23:41 -07:00
Daniel Nichter
fb8f3148f5 The last Daemon.t stabilizer? 2011-08-24 11:26:18 -06:00
Daniel Nichter
a1bee06edf One more stabilizer for Daemon.t. 2011-08-24 11:24:07 -06:00
Daniel Nichter
2c7257caff More stabilizing Daemon.t. 2011-08-24 11:20:27 -06:00
Daniel Nichter
e134aa665b Try to make Daemon.t more reliable. 2011-08-24 11:04:47 -06:00
Daniel Nichter
b805f7c92d Remove $Revision$ and finish re-branding modules. Rename MaatkitTest.pm to PerconaTest.pm. Put copyrights on one line. 2011-07-12 15:47:07 -06:00
Daniel Nichter
6c501128e6 Add lib/, t/lib/, and sandbox/. All modules are updated and passing on MySQL 5.1. 2011-06-24 11:22:06 -06:00