mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-17 17:27:57 +00:00
Fix init_agent.t.
This commit is contained in:
@@ -4962,7 +4962,6 @@ sub make_new_crontab {
|
||||
. " pt-agent --run-service "
|
||||
. $service->name;
|
||||
if ( $service->spool_schedule ) {
|
||||
# TODO: test
|
||||
push @pt_agent_lines,
|
||||
$service->spool_schedule
|
||||
. " pt-agent --send-data "
|
||||
@@ -5327,9 +5326,10 @@ sub get_uuid {
|
||||
return '123';
|
||||
}
|
||||
|
||||
# TODO: use VersionCheck::get_versions().
|
||||
sub get_versions {
|
||||
return {
|
||||
'Perl' => "5.10.0",
|
||||
'Perl' => sprintf('%vd', $PERL_VERSION),
|
||||
'Percona::WebAPI::Client' => "$Percona::WebAPI::Client::VERSION",
|
||||
};
|
||||
}
|
||||
|
@@ -90,7 +90,7 @@ is_deeply(
|
||||
hostname => `hostname`,
|
||||
versions => {
|
||||
'Percona::WebAPI::Client' => "$Percona::WebAPI::Client::VERSION",
|
||||
'Perl' => sprintf '%vd', $PERL_VERSION,
|
||||
'Perl' => sprintf('%vd', $PERL_VERSION),
|
||||
}
|
||||
},
|
||||
'Create new Agent'
|
||||
|
Reference in New Issue
Block a user