You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2014/08/06 04:10:12 UTC

[jira] [Updated] (FELIX-3809) [DS] circular reference tests call getService too often, affecting the results

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

David Jencks updated FELIX-3809:
--------------------------------

    Fix Version/s:     (was: scr-1.8.2)

> [DS] circular reference tests call getService too often, affecting the results
> ------------------------------------------------------------------------------
>
>                 Key: FELIX-3809
>                 URL: https://issues.apache.org/jira/browse/FELIX-3809
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.6.2
>            Reporter: David Jencks
>            Assignee: David Jencks
>
> The circular reference tests call getService from the test code to get the components we are examining the state of.  However this prompts creation of the object if it was not already created.  To observe the system without this interference we need a DS component with optional references to A and B that we use to get the instances from.
> Possibly keeping the current setup as well might be a good idea since in real life such getService calls could in fact occur at any time.



--
This message was sent by Atlassian JIRA
(v6.2#6252)