mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-01-17 01:02:41 +08:00
Remove debug stuff from pt-stalk.t
This commit is contained in:
@@ -79,9 +79,8 @@ cleanup();
|
||||
# As of v2.1.9 when --verbose was added, non-matching checks are not
|
||||
# printed by default. So we use the --plugin to tell us when the tool
|
||||
# has completed a cycle.
|
||||
warn "1 before cmd";
|
||||
$retval = system("/bin/bash -x $trunk/bin/pt-stalk --daemonize --pid $pid_file --log $log_file --dest $dest --plugin $trunk/t/pt-stalk/samples/plugin002.sh -- --defaults-file=$cnf");
|
||||
warn "2 after cmd";
|
||||
$retval = system("$trunk/bin/pt-stalk --daemonize --pid $pid_file --log $log_file --dest $dest --plugin $trunk/t/pt-stalk/samples/plugin002.sh -- --defaults-file=$cnf");
|
||||
|
||||
is(
|
||||
$retval >> 8,
|
||||
0,
|
||||
@@ -143,8 +142,6 @@ like(
|
||||
# #############################################################################
|
||||
|
||||
cleanup();
|
||||
done_testing;
|
||||
exit;
|
||||
|
||||
$retval = system("$trunk/bin/pt-stalk --daemonize --pid $pid_file --log $log_file --variable Threads_running --dest $dest --verbose 3 -- --defaults-file=$cnf");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user