pgsql: Remove unstable test for pg_statio_all_sequences stats reset
| От | Fujii Masao |
|---|---|
| Тема | pgsql: Remove unstable test for pg_statio_all_sequences stats reset |
| Дата | |
| Msg-id | E1w26iX-0000iY-1q@gemulon.postgresql.org обсуждение исходный текст |
| Список | pgsql-committers |
Remove unstable test for pg_statio_all_sequences stats reset Commit 8fe315f18d4 added the stats_reset column to pg_statio_all_sequences and included a regression test to verify that statistics in this view are reset correctly. However, this test caused buildfarm member crake to report a pg_upgradeCheck failure. The failing test assumed that the blks_read and blks_hit counters in pg_statio_all_sequences would be zero after calling pg_stat_reset_single_table_counters(). On crake, however, either blks_read or blks_hit sometimes appeared as 1 during the pg_upgradeCheck test, even right after the reset. Since these counters may change due to concurrent activity and the test is unstable, this commit removes the checks for blks_read and blks_hit in pg_statio_all_sequences from the regression test. Per buildfarm member crake. Discussion: https://postgr.es/m/CAHGQGwFcay_tX=7HSS=N=+Yd0FLEm2GrJgwxnqHM4wvxX0B=4g@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/57b5543bb8517c15e3179e5ed2493edbb708457f Modified Files -------------- src/test/regress/expected/stats.out | 8 ++++---- src/test/regress/sql/stats.sql | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-)
В списке pgsql-committers по дате отправления: