Skip to content

Commit

Permalink
Issue 6368 - fix basic test suite
Browse files Browse the repository at this point in the history
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: #6368

Reviewed by: @progier389, @droideck (Thanks!)
  • Loading branch information
vashirov committed Dec 16, 2024
1 parent 6873ced commit bc0c543
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dirsrvtests/tests/suites/basic/basic_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit bc0c543

Please sign in to comment.