Lists: | pgsql-www |
---|
From: | Peter Geoghegan <pg(at)bowt(dot)ie> |
---|---|
To: | PostgreSQL WWW <pgsql-www(at)lists(dot)postgresql(dot)org> |
Subject: | coverage.postgresql.org doesn't run injection_point tests |
Date: | 2024-11-10 23:52:50 |
Message-ID: | CAH2-WzmO_CDMH5KqvwKvrErnLPCy2pp1xwHMXyvJn0-tGywJMA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-www |
The purpose of injection_points is to get test coverage for areas that
would otherwise be almost impossible to ensure coverage of due to
concurrency or timing issues. It would be useful if
coverage.postgresql.org was made to build Postgres with support for
injection_points, so that the relevant TAP tests actually ran and were
counted by community coverage reports. That way we'd have a more
complete picture of the test coverage situation.
Thanks
--
Peter Geoghegan
From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | Peter Geoghegan <pg(at)bowt(dot)ie> |
Cc: | PostgreSQL WWW <pgsql-www(at)lists(dot)postgresql(dot)org> |
Subject: | Re: coverage.postgresql.org doesn't run injection_point tests |
Date: | 2024-11-11 09:53:26 |
Message-ID: | 202411110953.genu7b52ii7l@alvherre.pgsql |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-www |
Hi Peter
On 2024-Nov-10, Peter Geoghegan wrote:
> The purpose of injection_points is to get test coverage for areas that
> would otherwise be almost impossible to ensure coverage of due to
> concurrency or timing issues. It would be useful if
> coverage.postgresql.org was made to build Postgres with support for
> injection_points, so that the relevant TAP tests actually ran and were
> counted by community coverage reports. That way we'd have a more
> complete picture of the test coverage situation.
Thanks for pointing it out. I have enabled the configure option, and
looking at the report for transam/multixact.c, they are being exercised.
--
Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/
"At least to kernel hackers, who really are human, despite occasional
rumors to the contrary" (LWN.net)
From: | Peter Geoghegan <pg(at)bowt(dot)ie> |
---|---|
To: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
Cc: | PostgreSQL WWW <pgsql-www(at)lists(dot)postgresql(dot)org> |
Subject: | Re: coverage.postgresql.org doesn't run injection_point tests |
Date: | 2024-11-11 13:45:59 |
Message-ID: | CAH2-WznHjwJvsSivT3gr=cLpMuqTnZF86A6QekYeajGmPv_g6A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-www |
On Mon, Nov 11, 2024 at 4:53 AM Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> wrote:
> Thanks for pointing it out. I have enabled the configure option, and
> looking at the report for transam/multixact.c, they are being exercised.
Thanks Álvaro!
--
Peter Geoghegan