Skip to content

Commit

Permalink
logictest: separate out some queries in read_committed
Browse files Browse the repository at this point in the history
We just saw a txn retry failure on COMMIT in `read_committed` test on
the connection that sent many stmts within a single directive, including
some DDL. In an attempt to deflake the test this commit separates those
out.

Release note: None
  • Loading branch information
yuzefovich committed Jan 17, 2025
1 parent f0f4243 commit 4fd785c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkg/ccl/logictestccl/testdata/logic_test/read_committed
Original file line number Diff line number Diff line change
Expand Up @@ -483,10 +483,20 @@ SET SESSION CHARACTERISTICS AS TRANSACTION ISOLATION LEVEL SERIALIZABLE

statement ok
CREATE USER testuser2 WITH VIEWACTIVITY;

statement ok
DROP TABLE IF EXISTS t;

statement ok
CREATE TABLE t(a INT PRIMARY KEY);

statement ok
INSERT INTO t VALUES(1), (2);

statement ok
GRANT ALL ON t TO testuser;

statement ok
GRANT ALL ON t TO testuser2;

user testuser
Expand Down

0 comments on commit 4fd785c

Please sign in to comment.