mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-05-02 01:01:09 +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
|
# 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
|
# printed by default. So we use the --plugin to tell us when the tool
|
||||||
# has completed a cycle.
|
# has completed a cycle.
|
||||||
warn "1 before 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");
|
||||||
$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";
|
|
||||||
is(
|
is(
|
||||||
$retval >> 8,
|
$retval >> 8,
|
||||||
0,
|
0,
|
||||||
@@ -143,8 +142,6 @@ like(
|
|||||||
# #############################################################################
|
# #############################################################################
|
||||||
|
|
||||||
cleanup();
|
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");
|
$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