mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Merge pull request #35720 from ClickHouse/parallel_stateful
Try to run stateful tests in parallel
This commit is contained in:
commit
5a55913f45
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Tags: long
|
# Tags: long, no-random-settings
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user