mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-21 11:30:24 +00:00
Update/fix pt-agent to work with new Service.run_schedule and Service.spool_schedule attribs.
This commit is contained in:
@@ -43,7 +43,7 @@ sub test_make_new_crontab {
|
||||
cmd_output => 1,
|
||||
),
|
||||
$args{name} || $file,
|
||||
);
|
||||
) or diag($new_crontab);
|
||||
}
|
||||
|
||||
my $run0 = Percona::WebAPI::Resource::Run->new(
|
||||
@@ -79,6 +79,12 @@ test_make_new_crontab(
|
||||
services => [ $svc0 ],
|
||||
);
|
||||
|
||||
# Crontab has old service, remove it and add only new service.
|
||||
test_make_new_crontab(
|
||||
file => "crontab004",
|
||||
services => [ $svc0 ],
|
||||
);
|
||||
|
||||
# #############################################################################
|
||||
# Use real crontab.
|
||||
# #############################################################################
|
||||
|
Reference in New Issue
Block a user