mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
upd test
This commit is contained in:
parent
2b52583e06
commit
4f27dd8f9c
@ -1,4 +1,4 @@
|
|||||||
data.bin doesn't exist: while restoring part all_2_2_0
|
OK
|
||||||
RESTORED
|
RESTORED
|
||||||
1
|
1
|
||||||
3
|
3
|
||||||
|
@ -26,7 +26,7 @@ ln -s "$SRC_BACKUP_DIR/$SRC_BACKUP_FILENAME" "$BACKUPS_DIR/$BACKUP_FILENAME"
|
|||||||
$CLICKHOUSE_CLIENT --query "DROP TABLE IF EXISTS tbl"
|
$CLICKHOUSE_CLIENT --query "DROP TABLE IF EXISTS tbl"
|
||||||
|
|
||||||
# First try to restore with the setting `restore_broken_parts_as_detached` set to false.
|
# First try to restore with the setting `restore_broken_parts_as_detached` set to false.
|
||||||
$CLICKHOUSE_CLIENT --query "RESTORE TABLE default.tbl AS tbl FROM $BACKUP_NAME" 2>&1 | grep -o -m 1 "data.bin doesn't exist: while restoring part all_2_2_0"
|
$CLICKHOUSE_CLIENT --query "RESTORE TABLE default.tbl AS tbl FROM $BACKUP_NAME" 2>&1 | tr -d \\n | grep "data.bin doesn't exist" | grep "while restoring part all_2_2_0" > /dev/null && echo "OK" || echo "FAILED"
|
||||||
|
|
||||||
$CLICKHOUSE_CLIENT --query "DROP TABLE IF EXISTS tbl"
|
$CLICKHOUSE_CLIENT --query "DROP TABLE IF EXISTS tbl"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user