Re: pg_waldump: add test for coverage - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: pg_waldump: add test for coverage
Date
Msg-id 23351815-057b-4e50-4def-60332b5e18d6@eisentraut.org
Whole thread Raw
In response to Re: pg_waldump: add test for coverage  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Responses Re: pg_waldump: add test for coverage
List pgsql-hackers
On 06.09.22 07:57, Peter Eisentraut wrote:
>> I wrote a test for coverage.
>> Unfortunately, it seems to take quite a while to run the test.
>> I want to improve these execution times, but I don't know exactly what 
>> to do.
>> Therefore, I want to hear feedback from many people.

> I think having some more test coverage for pg_waldump would be good, so 
> I encourage you to continue working on this.

I made an updated patch that incorporates many of your ideas and code, 
just made it a bit more compact, and added more tests for various 
command-line options.  This moves the test coverage of pg_waldump from 
"bloodbath" to "mixed fruit salad", which I think is pretty good 
progress.  And now there is room for additional patches if someone wants 
to figure out, e.g., how to get more complete coverage in gindesc.c or 
whatever.

Attachment

pgsql-hackers by date:

Previous
From: Andreas Karlsson
Date:
Subject: Re: Let's make PostgreSQL multi-threaded
Next
From: Peter Eisentraut
Date:
Subject: Re: pgindent vs. pgperltidy command-line arguments