From 863e74f16153ec95b3d639efde879355b12806ef Mon Sep 17 00:00:00 2001 From: Andrey Berezin Date: Mon, 8 Apr 2024 14:26:50 +0300 Subject: [PATCH] [#204] Fix custom_registry for verify scenario Signed-off-by: Andrey Berezin --- .../storage/controllers/background_load_controller.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/frostfs_testlib/storage/controllers/background_load_controller.py b/src/frostfs_testlib/storage/controllers/background_load_controller.py index e713f02..a8588ff 100644 --- a/src/frostfs_testlib/storage/controllers/background_load_controller.py +++ b/src/frostfs_testlib/storage/controllers/background_load_controller.py @@ -187,6 +187,7 @@ class BackgroundLoadController: read_from=self.load_params.read_from, registry_file=self.load_params.registry_file, verify_time=self.load_params.verify_time, + custom_registry=self.load_params.custom_registry, load_type=self.load_params.load_type, load_id=self.load_params.load_id, vu_init_time=0, @@ -196,6 +197,9 @@ class BackgroundLoadController: setup_timeout="1s", ) + if self.verification_params.custom_registry: + self.verification_params.registry_file = self.load_params.custom_registry + if self.verification_params.verify_time is None: raise RuntimeError("verify_time should not be none")