From 6d1a5c733e4d22ba56d3634c7a94810cd3207e95 Mon Sep 17 00:00:00 2001 From: Robert Baldyga Date: Sat, 11 Dec 2021 01:00:31 +0100 Subject: [PATCH] pyocf: Add missing error codes Signed-off-by: Robert Baldyga --- tests/functional/pyocf/types/shared.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/functional/pyocf/types/shared.py b/tests/functional/pyocf/types/shared.py index c1fd582..08da467 100644 --- a/tests/functional/pyocf/types/shared.py +++ b/tests/functional/pyocf/types/shared.py @@ -52,6 +52,8 @@ class OcfErrorCode(IntEnum): OCF_ERR_CORE_UUID_EXISTS = auto() OCF_ERR_METADATA_LAYOUT_MISMATCH = auto() OCF_ERR_CACHE_LINE_SIZE_MISMATCH = auto() + OCF_ERR_CACHE_STANDBY = auto() + OCF_ERR_FAILOVER_ATTACHED = auto() class OcfCompletion: