From 6218f23518a73db64b4a8621234626bcfe865f25 Mon Sep 17 00:00:00 2001 From: Rafi Shamim Date: Tue, 1 Oct 2024 14:37:12 -0400 Subject: [PATCH] logictest: deflake TestLogic_union Breaking up the large transaction should help avoid context cancellation errors. Release note: None --- pkg/sql/logictest/testdata/logic_test/union | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkg/sql/logictest/testdata/logic_test/union b/pkg/sql/logictest/testdata/logic_test/union index e787ed47c926..3575117a3994 100644 --- a/pkg/sql/logictest/testdata/logic_test/union +++ b/pkg/sql/logictest/testdata/logic_test/union @@ -683,11 +683,15 @@ SELECT a, b AS b1, b AS b2 FROM abc INTERSECT SELECT a, c, b FROM abc ORDER by a # synchronizer was causing spurious errors on queries with LIMIT. statement ok CREATE TABLE t127043_1 (k1 INT, v1 INT, INDEX (k1)); -INSERT INTO t127043_1 VALUES (1, 1); CREATE TABLE t127043_2 (k2 INT, v2 INT, INDEX (k2)); -INSERT INTO t127043_2 VALUES (1, 1); CREATE TABLE t127043_3 (k3 INT, v3 INT, INDEX (k3)); + +statement ok +INSERT INTO t127043_1 VALUES (1, 1); +INSERT INTO t127043_2 VALUES (1, 1); INSERT INTO t127043_3 VALUES (1, 1); + +statement ok CREATE VIEW v127043 (k, v) AS SELECT k1 AS k, v1 AS v FROM t127043_1@t127043_1_k1_idx