Conversation
Agent-Logs-Url: https://github.com/OpenIdentityPlatform/OpenDJ/sessions/b8d7e4b7-e6e7-45c5-b70c-b90833a88d84 Co-authored-by: vharseko <6818498+vharseko@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add Windows service start/stop test to CI build workflow
ci: add Windows service start/stop test to CI workflow
Mar 31, 2026
Agent-Logs-Url: https://github.com/OpenIdentityPlatform/OpenDJ/sessions/a07e721d-23f2-4511-976c-3682f3473369 Co-authored-by: vharseko <6818498+vharseko@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds coverage in the Windows CI job to validate OpenDJ can be registered, started, and stopped as a Windows Service (not just run as a foreground process).
Changes:
- Register OpenDJ as a Windows service at the end of the existing Windows test run.
- Start the service, wait for LDAPS port readiness, and re-run an LDAP query for verification.
- Stop and unregister the service after validation.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
vharseko
approved these changes
Apr 1, 2026
maximthomas
approved these changes
Apr 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
net start/stop OpenDJ→net start/stop "OpenDJ Server"(correct service name from pom.xml<name>OpenDJ Server</name>)powershell -Command "..."wrapper since shell is alreadypwsh(prevents$i/$cbeing expanded to empty by the outer shell)Original prompt
This pull request was created from Copilot chat.