Merge pull request #35720 from ClickHouse/parallel_stateful

Try to run stateful tests in parallel
This commit is contained in:
alesapin 2022-03-30 23:42:44 +02:00 committed by GitHub
commit 5a55913f45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 9 additions and 4 deletions

View File

@ -115,7 +115,7 @@ function run_tests()
fi fi
set +e set +e
clickhouse-test --testname --shard --zookeeper --check-zookeeper-session --no-stateless --hung-check --print-time \ clickhouse-test -j 2 --testname --shard --zookeeper --check-zookeeper-session --no-stateless --hung-check --print-time \
--skip 00168_parallel_processing_on_replicas "${ADDITIONAL_OPTIONS[@]}" \ --skip 00168_parallel_processing_on_replicas "${ADDITIONAL_OPTIONS[@]}" \
"$SKIP_TESTS_OPTION" 2>&1 | ts '%Y-%m-%d %H:%M:%S' | tee test_output/test_result.txt "$SKIP_TESTS_OPTION" 2>&1 | ts '%Y-%m-%d %H:%M:%S' | tee test_output/test_result.txt

View File

@ -52,6 +52,7 @@ MESSAGES_TO_RETRY = [
"DB::Exception: New table appeared in database being dropped or detached. Try again", "DB::Exception: New table appeared in database being dropped or detached. Try again",
"is already started to be removing by another replica right now", "is already started to be removing by another replica right now",
"DB::Exception: Cannot enqueue query", "DB::Exception: Cannot enqueue query",
"environment: line 1: wait_for: No record of process", # Something weird from bash internals, let's just retry
"is executing longer than distributed_ddl_task_timeout" # FIXME "is executing longer than distributed_ddl_task_timeout" # FIXME
] ]

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Tags: long # Tags: long, no-random-settings
set -e set -e

View File

@ -1,4 +1,4 @@
-- Tags: no-replicated-database -- Tags: no-replicated-database, no-parallel
-- Tag no-replicated-database: Does not support renaming of multiple tables in single query -- Tag no-replicated-database: Does not support renaming of multiple tables in single query
RENAME TABLE test.hits TO test.visits_tmp, test.visits TO test.hits, test.visits_tmp TO test.visits; RENAME TABLE test.hits TO test.visits_tmp, test.visits TO test.hits, test.visits_tmp TO test.visits;

View File

@ -1,4 +1,4 @@
-- Tags: no-tsan, no-replicated-database -- Tags: no-tsan, no-replicated-database, no-parallel
-- Tag no-replicated-database: Fails due to additional replicas or shards -- Tag no-replicated-database: Fails due to additional replicas or shards
DROP TABLE IF EXISTS fixed_granularity_table; DROP TABLE IF EXISTS fixed_granularity_table;

View File

@ -1,4 +1,5 @@
-- { echo } -- { echo }
SET max_memory_usage='20G'; SET max_memory_usage='20G';
SELECT count() FROM test.hits_s3; SELECT count() FROM test.hits_s3;
8873898 8873898

View File

@ -1,4 +1,7 @@
-- Tags: no-parallel
-- { echo } -- { echo }
SET max_memory_usage='20G'; SET max_memory_usage='20G';
SELECT count() FROM test.hits_s3; SELECT count() FROM test.hits_s3;
SELECT count() FROM test.hits_s3 WHERE AdvEngineID != 0; SELECT count() FROM test.hits_s3 WHERE AdvEngineID != 0;