mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Merge pull request #47670 from ClickHouse/rs/parallel-tests
Enable parallel execution for two tests
This commit is contained in:
commit
329a762ded
@ -1,20 +1,19 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Tags: no-parallel, no-fasttest
|
# Tags: no-fasttest
|
||||||
|
|
||||||
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||||
# shellcheck source=../shell_config.sh
|
# shellcheck source=../shell_config.sh
|
||||||
. "$CURDIR"/../shell_config.sh
|
. "$CURDIR"/../shell_config.sh
|
||||||
|
|
||||||
$CLICKHOUSE_CLIENT --query="create database if not exists test_01054;"
|
$CLICKHOUSE_CLIENT --query="drop table if exists test_01054;"
|
||||||
$CLICKHOUSE_CLIENT --query="drop table if exists test_01054.ints;"
|
|
||||||
|
|
||||||
$CLICKHOUSE_CLIENT --query="create table test_01054.ints
|
$CLICKHOUSE_CLIENT --query="create table test_01054
|
||||||
(key UInt64, i8 Int8, i16 Int16, i32 Int32, i64 Int64, u8 UInt8, u16 UInt16, u32 UInt32, u64 UInt64)
|
(key UInt64, i8 Int8, i16 Int16, i32 Int32, i64 Int64, u8 UInt8, u16 UInt16, u32 UInt32, u64 UInt64)
|
||||||
Engine = Memory;"
|
Engine = Memory;"
|
||||||
|
|
||||||
$CLICKHOUSE_CLIENT --query="insert into test_01054.ints values (1, 1, 1, 1, 1, 1, 1, 1, 1);"
|
$CLICKHOUSE_CLIENT --query="insert into test_01054 values (1, 1, 1, 1, 1, 1, 1, 1, 1);"
|
||||||
$CLICKHOUSE_CLIENT --query="insert into test_01054.ints values (2, 2, 2, 2, 2, 2, 2, 2, 2);"
|
$CLICKHOUSE_CLIENT --query="insert into test_01054 values (2, 2, 2, 2, 2, 2, 2, 2, 2);"
|
||||||
$CLICKHOUSE_CLIENT --query="insert into test_01054.ints values (3, 3, 3, 3, 3, 3, 3, 3, 3);"
|
$CLICKHOUSE_CLIENT --query="insert into test_01054 values (3, 3, 3, 3, 3, 3, 3, 3, 3);"
|
||||||
|
|
||||||
function thread1()
|
function thread1()
|
||||||
{
|
{
|
||||||
@ -73,5 +72,4 @@ wait
|
|||||||
|
|
||||||
echo OK
|
echo OK
|
||||||
|
|
||||||
$CLICKHOUSE_CLIENT --query "DROP TABLE if exists test_01054.ints"
|
$CLICKHOUSE_CLIENT --query "DROP TABLE if exists test_01054"
|
||||||
$CLICKHOUSE_CLIENT -q "DROP DATABASE test_01054"
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Tags: no-random-settings, no-parallel, no-fasttest
|
# Tags: no-random-settings, no-fasttest
|
||||||
|
|
||||||
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||||
# shellcheck source=../shell_config.sh
|
# shellcheck source=../shell_config.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user