[
https://issues.apache.org/jira/browse/DIRSERVER-1934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
lucas theisen updated DIRSERVER-1934:
-------------------------------------
Attachment: DIRSERVER-1934.patch
Hi Kiran, I have attached a patch for core-integ that will demonstrate this
problem. I don't know if it is in the right module, but I am not sure how to
demonstrate it elsewhere. It probably belongs in core-api, because it
demonstrates an issue in that module and should cause the build to fail.
However, core-api cannot use FrameworkRunner, and I need an instance of the
server running to test this out.
> LdapCoreSessionConnection does not include controls in response
> ---------------------------------------------------------------
>
> Key: DIRSERVER-1934
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1934
> Project: Directory ApacheDS
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.0-M16
> Reporter: lucas theisen
> Attachments: DIRSERVER-1934.patch
>
>
> This may not be a big issue as LdapCoreSessionConnection appears to only be
> useful for embedded ldap instances, but it does make for painful unit
> testing. Many of my unit tests were failing due to missing controls in the
> response, and as soon as I switched to LdapNetworkConnection it all went
> away. As a workaround, this will likely work though if your unit tests
> require LdapNetworkConnection, that means they could fail due to port
> collisions...
> I could slap together a quick unit test if it would be helpful.
> As a workaround, use LdapNetworkConnection for now.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)