Skip to content

Commit

Permalink
Merge pull request ClickHouse#74198 from azat/tests/01107_atomic_db_d…
Browse files Browse the repository at this point in the history
…etach_attach

tests: fix 01107_atomic_db_detach_attach flakiness
  • Loading branch information
alexey-milovidov authored Jan 6, 2025
2 parents f689a2a + a2b4731 commit 97d8f56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/queries/0_stateless/01107_atomic_db_detach_attach.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
NEW_DATABASE=test_01107_${CLICKHOUSE_DATABASE}
$CLICKHOUSE_CLIENT -q "DROP DATABASE IF EXISTS ${NEW_DATABASE}"
$CLICKHOUSE_CLIENT -q "CREATE DATABASE ${NEW_DATABASE} ENGINE=Atomic"
$CLICKHOUSE_CLIENT -q "CREATE TABLE ${NEW_DATABASE}.mt (n UInt64) ENGINE=MergeTree() ORDER BY tuple()"
$CLICKHOUSE_CLIENT -q "CREATE TABLE ${NEW_DATABASE}.mt (n UInt64) ENGINE=Log"

$CLICKHOUSE_CLIENT --function_sleep_max_microseconds_per_block 60000000 -q "INSERT INTO ${NEW_DATABASE}.mt SELECT number + sleepEachRow(3) FROM numbers(5)" &
sleep 1
Expand Down

0 comments on commit 97d8f56

Please sign in to comment.