[#204] Fix custom_registry for verify scenario
Some checks reported warnings
DCO action / DCO (pull_request) Has been cancelled
Some checks reported warnings
DCO action / DCO (pull_request) Has been cancelled
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
This commit is contained in:
parent
6629b9bbaa
commit
863e74f161
1 changed files with 4 additions and 0 deletions
|
@ -187,6 +187,7 @@ class BackgroundLoadController:
|
||||||
read_from=self.load_params.read_from,
|
read_from=self.load_params.read_from,
|
||||||
registry_file=self.load_params.registry_file,
|
registry_file=self.load_params.registry_file,
|
||||||
verify_time=self.load_params.verify_time,
|
verify_time=self.load_params.verify_time,
|
||||||
|
custom_registry=self.load_params.custom_registry,
|
||||||
load_type=self.load_params.load_type,
|
load_type=self.load_params.load_type,
|
||||||
load_id=self.load_params.load_id,
|
load_id=self.load_params.load_id,
|
||||||
vu_init_time=0,
|
vu_init_time=0,
|
||||||
|
@ -196,6 +197,9 @@ class BackgroundLoadController:
|
||||||
setup_timeout="1s",
|
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:
|
if self.verification_params.verify_time is None:
|
||||||
raise RuntimeError("verify_time should not be none")
|
raise RuntimeError("verify_time should not be none")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue