Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1547e21

Browse files
author
Ekaterina Sokolova
committed
[PGPRO-10083] Set guc to false in python test.
pg_query_state.enable_timing and enable_buffers default to false. But we shouldforcefully set guc variables to false in case of its true values in the configuration file.Tags: pg_query_state.
1 parenta5afb51 commit1547e21

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎tests/test_cases.py

Lines changed: 3 additions & 0 deletions
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
assertlen(qs)==1andnotre.search(timing_pattern,qs[0][3])
384387
assertnotices== ['WARNING: timing statistics disabled\n']

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp