Skip to content

Commit

Permalink
logic_test: add retry to SHOW CLUSTER SETTING
Browse files Browse the repository at this point in the history
The cluster setting system is not synchronous; sometimes there is a
delay between writing to system.settings and seeing the change in SHOW
CLUSTER SETTING output.

Fixes: #133429

Release note: None
  • Loading branch information
michae2 committed Oct 28, 2024
1 parent 2e1be7f commit bd18e4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/sql/logictest/testdata/logic_test/system
Original file line number Diff line number Diff line change
Expand Up @@ -1440,7 +1440,7 @@ SELECT name, value FROM system.settings WHERE name = 'sql.defaults.vectorize'
----
sql.defaults.vectorize 1

query T
query T retry
SHOW CLUSTER SETTING sql.defaults.vectorize
----
on
Expand Down Expand Up @@ -1468,7 +1468,7 @@ query TT
SELECT name, value FROM system.settings WHERE name = 'sql.defaults.vectorize'
----

query T
query T retry
SHOW CLUSTER SETTING sql.defaults.vectorize
----
on
Expand Down

0 comments on commit bd18e4c

Please sign in to comment.