Merge pull request #1309 from DocentSzachista/OC1-277

tests: add test for adding invalid cores devices to caches
This commit is contained in:
Karolina Rogowska
2022-08-19 11:55:57 +02:00
committed by GitHub
2 changed files with 55 additions and 0 deletions

View File

@@ -21,6 +21,16 @@ start_cache_with_existing_metadata = [
r" discard on-disk metadata and start fresh cache instance\."
]
start_cache_on_already_used_dev = [
r"Error inserting cache \d+",
r"Cache device \'\/dev\/\S+\' is already used as cache\."
]
start_cache_with_existing_id = [
r"Error inserting cache \d+",
r"Cache ID already exists"
]
standby_init_with_existing_filesystem = [
r"A filesystem exists on \S+. Specify the --force option if you wish to add the cache anyway.",
r"Note: this may result in loss of data"