Skip to content

fix(test): Run LDAP-dependent tests only in ldap profile - #1448

Merged
gtema merged 1 commit into
mainfrom
fix-integration-test
Oct 8, 2026
Merged

gtema merged 1 commit into
mainfrom
fix-integration-test

Conversation

@gtema

@gtema gtema commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

The domain_config integration tests build a Provider that eagerly
health-checks the LDAP server, so they failed with "connection
refused" under the default and raft profiles where no slapd runs.

Exclude them from the default and raft profiles and restrict the ldap
profile to the LDAP driver package plus the domain_config tests.

Make tools/start-ldap-test.sh work on Fedora/RHEL as well as
Debian/Ubuntu: detect the schema directory and slapd binary, and load
back_mdb.so only when it exists as a module.

Co-Authored-By: Claude Sonnet 5.5 noreply@anthropic.com
Signed-off-by: Artem Goncharov artem.goncharov@gmail.com

@gtema
gtema enabled auto-merge October 8, 2026 11:14
@gtema
gtema force-pushed the fix-integration-test branch from edd6e24 to 4a22155 Compare October 8, 2026 11:14
@gtema
gtema added this pull request to the merge queue Oct 8, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 8, 2026
The domain_config integration tests build a Provider that eagerly
health-checks the LDAP server, so they failed with "connection
refused" under the default and raft profiles where no slapd runs.

Exclude them from the default and raft profiles and restrict the ldap
profile to the LDAP driver package plus the domain_config tests.

Make tools/start-ldap-test.sh work on Fedora/RHEL as well as
Debian/Ubuntu: detect the schema directory and slapd binary, and load
back_mdb.so only when it exists as a module.

Assisted-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Artem Goncharov <artem.goncharov@gmail.com>
@gtema
gtema force-pushed the fix-integration-test branch from 4a22155 to cdd6263 Compare October 8, 2026 13:52
@gtema
gtema added this pull request to the merge queue Oct 8, 2026
Merged via the queue into main with commit b567a9f Oct 8, 2026
29 checks passed
@gtema
gtema deleted the fix-integration-test branch October 8, 2026 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant