Simon Riggs <si...@2ndquadrant.com> writes:
> On 27 March 2018 at 20:11, Simon Riggs <si...@2ndquadrant.com> wrote:
>> Buildfarm failure seen, investigating

> Error on FreeBSD only , perhaps timing-related as a result of using
> pg_stat_get_xact_tuples_hot_updated()
> in tests.

It's by now obvious that it's not just "FreeBSD only".

The test script appears to imagine that pgstats outputs update
instantaneously.  I'm rather astonished that it passes anywhere,
much less that it seemingly passes reliably enough for you
to have not been noticed in precommit testing.

The existing "stats" test moves mountains to get repeatable results,
and is pretty slow in consequence, and even so it doesn't always succeed.
I think that rather than going down that path, you should drop this test
approach and think of some other way.

                        regards, tom lane

Reply via email to