Mark Struberg created DELTASPIKE-1256:
-----------------------------------------

             Summary: CdiTestRunner ProjectStage setting doesn't work on Config
                 Key: DELTASPIKE-1256
                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1256
             Project: DeltaSpike
          Issue Type: Bug
          Components: Configuration
    Affects Versions: 1.7.2
            Reporter: Mark Struberg
            Assignee: Mark Struberg
             Fix For: 1.8.0


If you try to use different ProjectStages with CdiTestRunner, then only the 
first one gets used for ConfigResolver. 
So this ends up with ProjectStage.Production most of the times.

The reason is that the current ProjectStage gets 'cached' inside 
ConfigResolver. 

We should do some performance tests to check whether we can get rid of that. 
Because the ProjectStageProducer already uses a cache anyway. So the JIT might 
level out this method call after a few seconds.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to