test api: add missing cli messages

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
Michal Mielewczyk 2022-04-21 12:35:50 +02:00
parent 948eccb0b9
commit ca790e4f35

View File

@ -149,6 +149,18 @@ activate_with_different_cache_id = [
r"Cache id specified by user and loaded from metadata are different"
]
cache_activated_successfully = [
r"Successfully activated cache instance \d+"
]
invalid_core_volume_size = [
r"Core volume size does not match the size stored in cache metadata"
]
error_activating_cache = [
r"Error activating cache \d+"
]
def check_stderr_msg(output: Output, expected_messages):
return __check_string_msg(output.stderr, expected_messages)