From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@postgresql.org
Subject: pgsql: Make regression tests less dependent on hash table order.
Date: Mon, 10 Oct 2016 20:45:35 +0000
Message-ID: <E1bthS3-0006u7-FO@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Make regression tests less dependent on hash table order.
Upcoming changes to the hash table code used, among others, for grouping
and set operations will change the output order for a few queries. To
make it less likely that actual bugs are hidden between regression test
ordering changes, and to make the tests robust against platform
dependant ordering, add ORDER BYs guaranteeing the output order.
As it's possible that some of the changes expose platform dependant
ordering, push this earlier, to let the buildfarm shake out potentially
unstable results.
Discussion: <20160727004333.r3e2k2y6fvk2ntup@alap3.anarazel.de>
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/0137caf273f4297c4d36df3a542d7c0c853e75be
Modified Files
--------------
src/test/regress/expected/matview.out | 6 +-
src/test/regress/expected/psql.out | 2 +-
src/test/regress/expected/tsrf.out | 8 +--
src/test/regress/expected/union.out | 129 ++++++++++++++++++----------------
src/test/regress/expected/with.out | 8 +--
src/test/regress/sql/matview.sql | 4 +-
src/test/regress/sql/psql.sql | 2 +-
src/test/regress/sql/tsrf.sql | 2 +-
src/test/regress/sql/union.sql | 63 +++++++++--------
src/test/regress/sql/with.sql | 8 +--
10 files changed, 123 insertions(+), 109 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de
Subject: Re: pgsql: Make regression tests less dependent on hash table order.
In-Reply-To: <E1bthS3-0006u7-FO@gemulon.postgresql.org>
References: <E1bthS3-0006u7-FO@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox