You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the help of src/lib389/lib389/monitor.py
I was trying to assert ::
log.info("Check the backend monitor output for Normalized DN cache statistics while nsslapd-ndn-cache-enabled is on")
topo.standalone.config.set('nsslapd-ndn-cache-enabled', 'on')
monitor_backend = MonitorBackend(topo.standalone)
assert monitor_backend.present('normalizeddncachehits')
so it should be able to check normalizeddncachehits is present in monitor_backend when nsslapd-ndn-cache-enabled is on, but it does not work and gives error 🚬
E TypeError: search_ext() argument 1 must be str, not None
Also there is a weird check for the version in src/lib389/lib389/monitor.py in init for MonitorLDBM class. so even if we have the right version, but we turn off nsslapd-ndn-cache-enabled, the code will fail
Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/49880
Issue Description
With the help of src/lib389/lib389/monitor.py
I was trying to assert ::
log.info("Check the backend monitor output for Normalized DN cache statistics while nsslapd-ndn-cache-enabled is on")
topo.standalone.config.set('nsslapd-ndn-cache-enabled', 'on')
monitor_backend = MonitorBackend(topo.standalone)
assert monitor_backend.present('normalizeddncachehits')
so it should be able to check normalizeddncachehits is present in monitor_backend when nsslapd-ndn-cache-enabled is on, but it does not work and gives error 🚬
E TypeError: search_ext() argument 1 must be str, not None
Full logs - http://pastebin.test.redhat.com/626448
The text was updated successfully, but these errors were encountered: