Re: Test code is worth the space

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: Test code is worth the space
Дата
Msg-id 55D22ECF.40705@BlueTreble.com
обсуждение исходный текст
Ответ на Re: Test code is worth the space  (Petr Jelinek <petr@2ndquadrant.com>)
Список pgsql-hackers
On 8/15/15 4:45 AM, Petr Jelinek wrote:
> We could fix a) by adding ORDER BY to those queries but I don't see how
> to fix the rest easily or at all without sacrificing some test coverage.

Hopefully at some point we'll have test frameworks that don't depend on 
capturing raw psql output, which presumably makes dealing with a lot of 
this easier.

Maybe some of this could be handled by factoring BLKSZ into the queries...

A really crude solution would be to have expected output be BLKSZ 
dependent where appropriate. No one will remember to test that by hand, 
but if we have CI setup then maybe it's workable...
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Data in Trouble? Get it in Treble! http://BlueTreble.com



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: missing documentation for partial WAL files
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Configure with thread sanitizer fails the thread test