From: | Amit Kapila <akapila(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix tests for replication slots stats. |
Date: | 2021-05-13 04:58:16 |
Message-ID: | E1lh3QO-0002Vc-Jj@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Fix tests for replication slots stats.
Some of the tests were not considering that the slot's spill stats could be
received by the stats collector after we have reset the stats. Remove
those tests and don't check total bytes decoded and sent to output plugin
in the spilled stats test as we can send the spilled stats to the stats
collector before actually sending the changes to output plugin.
Reported-by: Tom Lane as per buildfarm
Author: Vignesh C, Sawada Masahiko
Reviewed-by: Amit Kapila
Discussion: https://postgr.es/m/20210319185247.ldebgpdaxsowiflw@alap3.anarazel.de
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/fc69509131c33c298e39dd25d542374e86aa3295
Modified Files
--------------
contrib/test_decoding/expected/stats.out | 46 +++-----------------------------
contrib/test_decoding/sql/stats.sql | 12 +--------
2 files changed, 5 insertions(+), 53 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2021-05-13 06:41:19 | pgsql: pg_amcheck: Message style and formatting improvements |
Previous Message | Bruce Momjian | 2021-05-13 03:34:48 | pgsql: doc: update PG 14 release notes based on current feedback |