mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
fix test
This commit is contained in:
parent
38575f6cb2
commit
ba2684079c
@ -99,14 +99,12 @@ timeout $TIMEOUT bash -c show_tables_func 2> /dev/null &
|
||||
wait
|
||||
sleep 1
|
||||
|
||||
${CLICKHOUSE_CLIENT} -n -q "
|
||||
DROP TABLE IF EXISTS $CURR_DATABASE.log;
|
||||
DROP TABLE IF EXISTS $CURR_DATABASE.slog;
|
||||
DROP TABLE IF EXISTS $CURR_DATABASE.tlog;
|
||||
DROP TABLE IF EXISTS $CURR_DATABASE.tlog2;
|
||||
"
|
||||
# DROP DATABASE $CURR_DATABASE; -- This fails for some reason
|
||||
${CLICKHOUSE_CLIENT} -q "ATTACH TABLE $CURR_DATABASE.log;" 2>/dev/null
|
||||
${CLICKHOUSE_CLIENT} -q "ATTACH TABLE $CURR_DATABASE.slog;" 2>/dev/null
|
||||
${CLICKHOUSE_CLIENT} -q "ATTACH TABLE $CURR_DATABASE.tlog;" 2>/dev/null
|
||||
${CLICKHOUSE_CLIENT} -q "ATTACH TABLE $CURR_DATABASE.tlog2;" 2>/dev/null
|
||||
|
||||
${CLICKHOUSE_CLIENT} -q "DROP DATABASE $CURR_DATABASE"
|
||||
|
||||
echo "Test OK"
|
||||
|
||||
# TODO: it doesn't work! $CLICKHOUSE_CLIENT -q "DROP DATABASE $CURR_DATABASE"
|
||||
|
Loading…
Reference in New Issue
Block a user