From 36581db66663f460c9e35223cddeb5c389c18599 Mon Sep 17 00:00:00 2001 From: Piotr Debski Date: Tue, 26 Jul 2022 16:34:18 +0200 Subject: [PATCH] test_stop_cache_with_mounted_partition fix not matching error message check Signed-off-by: Piotr Debski --- test/functional/api/cas/cli_messages.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/functional/api/cas/cli_messages.py b/test/functional/api/cas/cli_messages.py index 665fa81..b5c8f10 100644 --- a/test/functional/api/cas/cli_messages.py +++ b/test/functional/api/cas/cli_messages.py @@ -82,7 +82,8 @@ remove_mounted_core = [ ] stop_cache_mounted_core = [ - r"Can\'t stop cache instance \d+\. Device /dev/cas\d+-\d+ is mounted\!" + r"Error while removing cache \d+", + r"Device opens or mount are pending to this cache" ] load_and_force = [