[
https://issues.apache.org/jira/browse/DIRSERVER-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Seelmann updated DIRSERVER-1847:
---------------------------------------
Attachment: DIRSERVER-1847-server-inject.patch
DIRSERVER-1847-api-inject.patch
Here is a patch with the alternate approach to inject the time provider into
the directory server and to avoid global (static) state:
* DIRSERVER-1847-api-inject.patch
* DIRSERVER-1847-server-inject.patch
I'd vote for this approach.
> Introduce time provider for time dependent tests
> ------------------------------------------------
>
> Key: DIRSERVER-1847
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1847
> Project: Directory ApacheDS
> Issue Type: Test
> Affects Versions: 2.0.0-M12
> Reporter: Stefan Seelmann
> Assignee: Stefan Seelmann
> Fix For: 2.0.0-RC1
>
> Attachments: DIRSERVER-1847-api-inject.patch,
> DIRSERVER-1847-api.patch, DIRSERVER-1847-server-inject.patch,
> DIRSERVER-1847-server.patch
>
>
> As discussed in
> http://mail-archives.apache.org/mod_mbox/directory-dev/201305.mbox/%3C51A08EF4.6010502%40gmail.com%3E
> we should introduce a time provider for time dependent tests so that they
> don't have to sleep.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira