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 2012/12/10 18:01:22 UTC

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

David Jencks created FELIX-3809:
-----------------------------------

             Summary: [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
             Fix For: scr-1.8.0


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 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