Fix pgbench permute tests.
authorDean Rasheed <dean.a.rasheed@gmail.com>
Wed, 19 May 2021 11:50:58 +0000 (12:50 +0100)
committerDean Rasheed <dean.a.rasheed@gmail.com>
Wed, 19 May 2021 11:50:58 +0000 (12:50 +0100)
commit0f516d039d8023163e82fa51104052306068dd69
tree1439773f5859aaaa389c3e0841fdf418e0c02ecc
parent167bd4804995afd654bd97ca9486acbece24377e
Fix pgbench permute tests.

One of the tests for the pgbench permute() function added by
6b258e3d68 fails on some 32-bit platforms, due to variations in the
floating point computations in getrand(). The remaining tests give
sufficient coverage, so just remove the failing test.

Reported by Christoph Berg. Analysis by Thomas Munro and Tom Lane.
Based on patch by Fabien Coelho.

Discussion: https://postgr.es/m/YKQnUoYV63GRJBDD@msg.df7cb.de
src/bin/pgbench/t/001_pgbench_with_server.pl