From f66eefb3bd5e68552ee7d37a2392c3fa6b4c5eac Mon Sep 17 00:00:00 2001 From: Adam Rutkowski Date: Mon, 8 Nov 2021 12:14:28 +0100 Subject: [PATCH] pyocf: remember queue name Signed-off-by: Adam Rutkowski --- tests/functional/pyocf/types/queue.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/functional/pyocf/types/queue.py b/tests/functional/pyocf/types/queue.py index f38ff35..04a652d 100644 --- a/tests/functional/pyocf/types/queue.py +++ b/tests/functional/pyocf/types/queue.py @@ -1,5 +1,5 @@ # -# Copyright(c) 2019-2021 Intel Corporation +# Copyright(c) 2019-2022 Intel Corporation # SPDX-License-Identifier: BSD-3-Clause # @@ -45,6 +45,7 @@ class Queue: def __init__(self, cache, name): self.ops = QueueOps(kick=type(self)._kick, stop=type(self)._stop) + self.name = name self.handle = c_void_p() status = OcfLib.getInstance().ocf_queue_create(