You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (Jira)" <ji...@apache.org> on 2021/12/02 19:53:00 UTC

[jira] [Closed] (SLING-10498) MockConfiguration#delete() does not delete the configuration (still found by ConfigurationAdmin)

     [ https://issues.apache.org/jira/browse/SLING-10498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seifert closed SLING-10498.
----------------------------------

> MockConfiguration#delete() does not delete the configuration (still found by ConfigurationAdmin)
> ------------------------------------------------------------------------------------------------
>
>                 Key: SLING-10498
>                 URL: https://issues.apache.org/jira/browse/SLING-10498
>             Project: Sling
>          Issue Type: Improvement
>          Components: Testing
>    Affects Versions: Testing OSGi Mock 3.1.2
>            Reporter: Henry Kuijpers
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: Testing OSGi Mock 3.2.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> MockConfiguration#delete does not delete the configuration from the map (in MockConfigurationAdmin), but instead clears the properties of the configuration (while maintaining the PID).
> To mimic a real world scenario, that configuration should in fact be deleted from the map that MockConfigurationAdmin is holding.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)