Re: [pgagent] regression test

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Christoph Berg <myon(at)debian(dot)org>
Cc: pgAdmin support <pgadmin-support(at)postgresql(dot)org>
Subject: Re: [pgagent] regression test
Date: 2018-07-20 15:54:00
Message-ID: CA+OCxowy0oqNPdDHWbYCjUbvfS2rxtZ9JZXaqdH-qe8Dq_ZCQw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On Fri, Jul 20, 2018 at 10:28 AM, Christoph Berg <myon(at)debian(dot)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

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Brian 2018-07-22 23:35:56 PgAdmin returning 410 GONE when viewing SQL for partitions
Previous Message Dave Page 2018-07-20 12:36:37 Re: [pgagent] patch: link with -pthread