Update/fix pt-agent to work with new Service.run_schedule and Service.spool_schedule attribs.

This commit is contained in:
Daniel Nichter
2013-01-30 13:25:21 -07:00
parent 57722889cb
commit bf92ce765d
9 changed files with 41 additions and 22 deletions

View File

@@ -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.
# #############################################################################