Skip to content

Commit 3bf67e3

Browse files
committed
Stateless tests: skip tests
1 parent b485c37 commit 3bf67e3

8 files changed

+11
-6
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
1
2+
1
23
10

tests/queries/0_stateless/01501_clickhouse_client_INSERT_exception.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ ${CLICKHOUSE_CLIENT} --input_format_parallel_parsing=0 -q "INSERT INTO data SELE
1313
# well for TSV it is ok, but for RowBinary:
1414
# Code: 33. DB::Exception: Cannot read all data. Bytes read: 1. Bytes expected: 4.
1515
# so check that the exception message contain the data source.
16-
${CLICKHOUSE_CLIENT} --input_format_parallel_parsing=0 -q "INSERT INTO data FORMAT TSV
16+
${CLICKHOUSE_CLIENT} --async_insert=0 --input_format_parallel_parsing=0 -q "INSERT INTO data FORMAT TSV
1717
" <<<2 |& grep -F -c 'data for INSERT was parsed from query'
18+
${CLICKHOUSE_CLIENT} --async_insert=1 --input_format_parallel_parsing=0 -q "INSERT INTO data FORMAT TSV
19+
" <<<2 |& grep -F -c 'Processing async inserts with both inlined and external data (from stdin or infile) is not supported'
1820
${CLICKHOUSE_CLIENT} -q "SELECT * FROM data"
1921

2022
$CLICKHOUSE_CLIENT -q "DROP TABLE data"

tests/queries/0_stateless/02310_profile_events_insert.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
2-
2+
# Tags: no-async-insert
3+
# no-async-insert: clickhouse-local does not read server settings where async_insert is enabled
34
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
45
# shellcheck source=../shell_config.sh
56
. "$CURDIR"/../shell_config.sh

tests/queries/0_stateless/02480_client_option_print_num_processed_rows.expect

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/expect -f
2+
# Tags: no-async-insert
23

34
set basedir [file dirname $argv0]
45
set basename [file tail $argv0]

tests/queries/0_stateless/02534_keyed_siphash.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,7 @@ SELECT 'Test arrays and maps';
343343
DROP TABLE IF EXISTS sipHashKeyed_keys;
344344
CREATE TABLE sipHashKeyed_keys (`a` Map(String, String)) ENGINE = Memory;
345345
INSERT INTO sipHashKeyed_keys FORMAT VALUES ({'a':'b', 'c':'d'}), ({'e':'f', 'g':'h'});
346+
346347
SELECT hex(sipHash128ReferenceKeyed((0::UInt64, materialize(0::UInt64)), a)) FROM sipHashKeyed_keys ORDER BY a;
347348
DROP TABLE sipHashKeyed_keys;
348349

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
UNKNOWN_FUNCTION
1+
1

tests/queries/0_stateless/03036_udf_user_defined_directory_in_client.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ ${CLICKHOUSE_CLIENT} --query "DROP TABLE IF EXISTS test"
88
${CLICKHOUSE_CLIENT} --query "CREATE TABLE test (s String) ENGINE = Memory"
99

1010
# Calling an unknown function should not lead to creation of a 'user_defined' directory in the current directory
11-
${CLICKHOUSE_CLIENT} --query "INSERT INTO test VALUES (xyz('abc'))" 2>&1 | grep -o -F 'UNKNOWN_FUNCTION'
12-
11+
${CLICKHOUSE_CLIENT} --query "INSERT INTO test VALUES (xyz('abc'))" 2>&1 | grep -q -F 'UNKNOWN_FUNCTION' && echo 1 || echo 0
1312
ls -ld user_defined 2> /dev/null
1413

1514
${CLICKHOUSE_CLIENT} --query "DROP TABLE test"

tests/queries/0_stateless/03229_async_insert_alter.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- Tags: no-parallel
1+
-- Tags: no-parallel, no-async-insert
22
-- no-parallel because the test uses FLUSH ASYNC INSERT QUEUE
33

44
SET wait_for_async_insert = 0;

0 commit comments

Comments
 (0)