Skip to content

Commit a6fc263

Browse files
craig[bot]yuzefovich
andcommitted
Merge #156565
156565: logictest: reduce data set in cursor test r=yuzefovich a=yuzefovich We've seen a few failures on `cursor` logic test under race which seems to be due to node overload / timeout. My hypothesis is it's due to metamorphic randomization, and I found one spot where we use 10k rows in the table, but I don't think we need this much. This commit reduces the row count to just 10 in hopes of eliminating the flake under race. Fixes: #155609. Release note: None Co-authored-by: Yahor Yuzefovich <yahor@cockroachlabs.com>
2 parents 4d4d324 + 579352a commit a6fc263

File tree

1 file changed

+1
-1
lines changed
  • pkg/sql/logictest/testdata/logic_test

1 file changed

+1
-1
lines changed

pkg/sql/logictest/testdata/logic_test/cursor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ subtest holdable
655655

656656
statement ok
657657
CREATE TABLE t (x INT PRIMARY KEY, y INT);
658-
INSERT INTO t (SELECT t, t%123 FROM generate_series(1, 10000) g(t));
658+
INSERT INTO t (SELECT t, t%7 FROM generate_series(1, 10) g(t));
659659

660660
# A holdable cursor can be declared in an implicit transaction.
661661
statement ok

0 commit comments

Comments
 (0)