Re: [pgagent] regression test
От | Dave Page |
---|---|
Тема | Re: [pgagent] regression test |
Дата | |
Msg-id | CA+OCxowy0oqNPdDHWbYCjUbvfS2rxtZ9JZXaqdH-qe8Dq_ZCQw@mail.gmail.com обсуждение исходный текст |
Ответ на | [pgagent] regression test (Christoph Berg <myon@debian.org>) |
Список | pgadmin-support |
On Fri, Jul 20, 2018 at 10:28 AM, Christoph Berg <myon@debian.org> wrote:
The Debian package includes a regression test for pgagent which might
be useful for others as well. It installs a simple job, fires up
pgagent for 80 s (using `timeout` from coreutils), and checks if the
job was run at least once.
Cool, thanks!
I've committed this with a few minor changes:
- Update the expected output files which seemed to have Windows line endings which caused failures.
- Remove the dependency on the "timeout" command which doesn't exist on macOS (and the version in macPorts doesn't play nicely with /dev/null). Use bash-fu instead.
- Add some usage notes to the README file.
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
В списке pgadmin-support по дате отправления: