Assert cron job definition
Depends-on: https://review.opendev.org/877876 Change-Id: I08b9c4927cbe104ec7dade52e3d46f91c8769e98
This commit is contained in:
parent
3f3c5dfd46
commit
4c56946003
@ -25,6 +25,9 @@ describe 'basic watcher' do
|
||||
describe port(9322) do
|
||||
it { is_expected.to be_listening }
|
||||
end
|
||||
end
|
||||
|
||||
describe cron do
|
||||
it { is_expected.to have_entry('1 0 * * * watcher-db-manage purge -d 30 >>/var/log/watcher/watcher-rowsflush.log 2>&1').with_user('watcher') }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user