Skip to content

Commit 8b8a52a

Browse files
authored
Merge pull request #50 from postgrespro/PGPRO-10083
Forcelly set guc to false in python test.
2 parents a5afb51 + 1547e21 commit 8b8a52a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_cases.py

+3
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,9 @@ def test_timing_buffers_conflicts(config):
379379
timing_pattern = '(?:running time=\d+.\d+)|(?:actual time=\d+.\d+..\d+.\d+)'
380380
buffers_pattern = 'Buffers:'
381381

382+
common.set_guc(acon, 'pg_query_state.enable_timing', 'off')
383+
common.set_guc(acon, 'pg_query_state.enable_buffers', 'off')
384+
382385
qs, notices = common.onetime_query_state(config, acon, query, {'timing': True, 'buffers': False})
383386
assert len(qs) == 1 and not re.search(timing_pattern, qs[0][3])
384387
assert notices == ['WARNING: timing statistics disabled\n']

0 commit comments

Comments
 (0)