Re: Contributing test cases to improve coverage

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Contributing test cases to improve coverage
Дата
Msg-id daa90384-0085-4ac7-bbec-bcde1fc3ec1d@eisentraut.org
обсуждение исходный текст
Ответ на Contributing test cases to improve coverage  (J F <jonathanfoo0523@gmail.com>)
Список pgsql-hackers
On 12.06.24 18:44, J F wrote:
> (a) The regression test suite is run by a parallel scheduler, with some 
> test cases dependent on previous test cases. If I just add my test case 
> as part of the parallel scheduler’s tests, it might not work, since 
> previous test cases in the scheduler might already create the same 
> table, for instance.

Yes, you need to take care of that somehow.  Some test files put all 
their test objects in a schema.  Others are careful to drop all test 
objects at the end.  Or you just have to pick non-conflicting names.

> (b) How do I get my test cases reviewed and ultimately included in a 
> future release of PostgreSQL?

Perhaps start with

https://wiki.postgresql.org/wiki/Development_information

and in particular

https://wiki.postgresql.org/wiki/Submitting_a_Patch




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Ashutosh Bapat
Дата:
Сообщение: Re: Contributing test cases to improve coverage
Следующее
От: Robert Haas
Дата:
Сообщение: Re: MultiXactMemberFreezeThreshold can make autovacuum *less* aggressive