Re: [pgagent] regression test - Mailing list pgadmin-support

From Dave Page
Subject Re: [pgagent] regression test
Date
Msg-id CA+OCxowy0oqNPdDHWbYCjUbvfS2rxtZ9JZXaqdH-qe8Dq_ZCQw@mail.gmail.com
Whole thread Raw
In response to [pgagent] regression test  (Christoph Berg <myon@debian.org>)
List 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. 

Thanks again!

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgadmin-support by date:

Previous
From: Dave Page
Date:
Subject: Re: [pgagent] patch: link with -pthread
Next
From: Brian
Date:
Subject: PgAdmin returning 410 GONE when viewing SQL for partitions