Skip to content

Commit

Permalink
sql/logictest: address flake inside synthetic_privileges
Browse files Browse the repository at this point in the history
Previously, the logic test synthetic_privileges would flake with
transaction retry errors querying from has_table_privilege. To address this,
this patch makes the problematic invocation as retryable.

Fixes: #128370

Release note: None
  • Loading branch information
fqazi committed Sep 25, 2024
1 parent e523823 commit 21fb23e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sql/logictest/testdata/logic_test/synthetic_privileges
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ CREATE USER testuser4
statement ok
REVOKE SELECT ON crdb_internal.tables FROM public

query B
query B retry
SELECT has_table_privilege('testuser4', 'crdb_internal.tables', 'SELECT')
----
false
Expand Down

0 comments on commit 21fb23e

Please sign in to comment.