File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
pkg/ccl/logictestccl/testdata/logic_test Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,12 @@ ALTER TENANT ALL SET CLUSTER SETTING sql.zone_configs.max_replicas_per_region =
2929
3030user root
3131
32+ # Wait for the setting to be propagated to the tenant cluster.
33+ query I retry
34+ SHOW CLUSTER SETTING sql.zone_configs.max_replicas_per_region
35+ ----
36+ 4
37+
3238# Our setting should not affect non-constraint related zone config updates.
3339statement ok
3440ALTER DATABASE db CONFIGURE ZONE USING gc.ttlseconds = 1
@@ -49,6 +55,12 @@ ALTER TENANT ALL SET CLUSTER SETTING sql.zone_configs.max_replicas_per_region =
4955
5056user root
5157
58+ # Wait for the setting to be propagated to the tenant cluster.
59+ query I retry
60+ SHOW CLUSTER SETTING sql.zone_configs.max_replicas_per_region
61+ ----
62+ 3
63+
5264statement ok
5365ALTER DATABASE db CONFIGURE ZONE USING gc.ttlseconds = 1
5466
@@ -73,6 +85,12 @@ ALTER TENANT ALL SET CLUSTER SETTING sql.zone_configs.default_range_modifiable_b
7385
7486user root
7587
88+ # Wait for the setting to be propagated to the tenant cluster.
89+ query B retry
90+ SHOW CLUSTER SETTING sql.zone_configs.default_range_modifiable_by_non_root.enabled
91+ ----
92+ false
93+
7694statement ok
7795ALTER RANGE default CONFIGURE ZONE USING num_replicas = 10
7896
You can’t perform that action at this time.
0 commit comments