-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ch-backup commands with stopped Clickhouse (#166)
- Loading branch information
1 parent
ae46512
commit 42a624b
Showing
4 changed files
with
25 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Feature: Ch-backup operations without connection to clickhouse-server. | ||
|
||
Background: | ||
Given default configuration | ||
And a working s3 | ||
And a working zookeeper on zookeeper01 | ||
And a working clickhouse on clickhouse01 | ||
And a working clickhouse on clickhouse02 | ||
|
||
Scenario: Version command without ch-server. | ||
When we stop clickhouse at clickhouse01 | ||
Then we got a valid ch-backup version on clickhouse01 | ||
|
||
Scenario: List command without ch-server. | ||
When we create clickhouse01 clickhouse backup | ||
And we stop clickhouse at clickhouse01 | ||
|
||
Then we got the following backups on clickhouse01 | ||
| num | state | | ||
| 0 | created | |