Skip to content

Commit

Permalink
logictest: only run create_as_non_metamorphic under local
Browse files Browse the repository at this point in the history
This test is very expensive because it was writing 100Mib of data. It now
writes more like 5. Nevertheless, let's not run it in so many places. I
did verify that it still tests what it was intended to test.

Fixes #91080

Release note: None
  • Loading branch information
ajwerner committed Nov 1, 2022
1 parent 93e9e56 commit 4082a28
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 45 deletions.
7 changes: 0 additions & 7 deletions pkg/ccl/logictestccl/tests/3node-tenant/generated_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# LogicTest: !metamorphic-batch-sizes
# LogicTest: !metamorphic-batch-sizes local
# Disabled to allow us to validate create as with large batch sizes.

# Regression test for #81554, where tried to do gigantic batches for CTAS in
# explicit transactions. Use a fixed command size, so that an error is decoupled
# fom the default size.
statement ok
SET CLUSTER SETTING kv.raft.command.max_size='5m'
SET CLUSTER SETTING kv.raft.command.max_size='4.01MiB'

statement ok
BEGIN;
CREATE TABLE source_tbl_huge AS SELECT 1::CHAR(256) FROM generate_series(1, 500000);
CREATE TABLE source_tbl_huge AS SELECT 1::CHAR(256) FROM generate_series(1, 50000);
COMMIT;

statement ok
Expand Down
7 changes: 0 additions & 7 deletions pkg/sql/logictest/tests/fakedist-disk/generated_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions pkg/sql/logictest/tests/fakedist-vec-off/generated_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions pkg/sql/logictest/tests/fakedist/generated_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions pkg/sql/logictest/tests/local-vec-off/generated_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4082a28

Please sign in to comment.