From cbab9fe0c72337704e1a364ce1db1d78a3c13826 Mon Sep 17 00:00:00 2001 From: silvacarloss Date: Wed, 6 Mar 2024 19:24:36 -0300 Subject: [PATCH] Fix backup build erro exception class name When backups fail to build, tempest is not displaying the correct exception because the class name is not following the pattern we expect it to follow. This change fixes the class name for the share backups build error exception. Change-Id: I9553ba44544d84dbc452973252391967225c724e --- manila_tempest_tests/share_exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manila_tempest_tests/share_exceptions.py b/manila_tempest_tests/share_exceptions.py index 5b5ca18a..7620109c 100644 --- a/manila_tempest_tests/share_exceptions.py +++ b/manila_tempest_tests/share_exceptions.py @@ -88,5 +88,5 @@ class ShareServerMigrationException(exceptions.TempestException): "status") -class ShareBackupException(exceptions.TempestException): +class ShareBackupBuildErrorException(exceptions.TempestException): message = ("Share backup %(backup_id)s failed and is in ERROR status")