From bc0c543c95152857cc5eec5067c2b07bff6b3668 Mon Sep 17 00:00:00 2001 From: Viktor Ashirov Date: Tue, 10 Dec 2024 12:45:23 +0100 Subject: [PATCH] Issue 6368 - fix basic test suite Bug Description: Basic test suite started to error out: > target_be = CustomSetup._search_be(backend_options, backend) E TypeError: CustomSetup._search_be() missing 1 required positional argument: 'beinfo' Fix Description: Add missing argument. Relates: https://github.com/389ds/389-ds-base/issues/6368 Reviewed by: @progier389, @droideck (Thanks!) --- dirsrvtests/tests/suites/basic/basic_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dirsrvtests/tests/suites/basic/basic_test.py b/dirsrvtests/tests/suites/basic/basic_test.py index 6f3c31ea7..f5830b006 100644 --- a/dirsrvtests/tests/suites/basic/basic_test.py +++ b/dirsrvtests/tests/suites/basic/basic_test.py @@ -124,7 +124,7 @@ def start(self, timeout=120, *args): if self.status(): return time.sleep(1) - raise TimeoutException('Failed to start ns-slpad') + raise TimeoutError('Failed to start ns-slpad') def stop(self, timeout=120): self._reset_systemd() @@ -173,7 +173,7 @@ def __init__(self, serverid, general=None, slapd=None, backends=None, log=log): if not backend_list: continue for backend in backend_list: - target_be = CustomSetup._search_be(backend_options, backend) + target_be = CustomSetup._search_be(self, backend_options, backend) if not target_be: target_be = {} backend_options.append(target_be)