Re: pgbench tap tests & minor fixes

Fabien COELHO <coelho@cri.ensmp.fr>

From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Nikolay Shaplov <dhyan@nataraj.su>
Cc: PostgreSQL Developers <pgsql-hackers@postgresql.org>, Robert Haas <robertmhaas@gmail.com>
Date: 2017-08-20T20:30:31Z
Lists: pgsql-hackers

Attachments

Hello Nikolay,

> I've applied the patch to the current master, and it seems that one test now
> fails:

Indeed, Tom removed the -M option order constraint, so the test which 
check for that does not apply anymore.

Here is a v10 without this test.

-- 
Fabien.

Commits

  1. Add much-more-extensive TAP tests for pgbench.

  2. Be more careful about newline-chomping in pgbench.

  3. Fix some subtle problems in pgbench transaction stats counting.