[
http://issues.ops4j.org/browse/PAXEXAM-50?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12321#action_12321
]
Toni Menzel commented on PAXEXAM-50:
------------------------------------
Is this to be seen as fixed for 0.5.0 ? Otherwise, is it release blocking ?
Else we remove the fix tag.
> Consecutive test runs fails when using profiles
> -----------------------------------------------
>
> Key: PAXEXAM-50
> URL: http://issues.ops4j.org/browse/PAXEXAM-50
> Project: Pax Exam
> Issue Type: Bug
> Components: Default Test Container
> Affects Versions: 0.3.0, 0.4.0
> Reporter: Alin Dreghiciu
> Assignee: Alin Dreghiciu
> Fix For: 0.5.0
>
>
> When there are at least 2 tests to be run where the first test does not uses
> profiles (directly or indirectly) and the following tests are using profiles
> all those tests will fail.
> This is because Pax Runner uses setURLStreamHandlerFactory and does not reset
> it after the run. Since setURLStreamHandlerFactory can only be done only once
> per VM the setting/reseting of URLStreamHandlerFactory is not a trivial job
> but can be done via utilities inside Pax Runner.
> Solving this can be done inside PAx Exam by using
> URLUtils.resetURLStreamHandlerFactory before starting Pax Runner. This will
> solve the problem but it is not playing nicely with an eventual already set
> URLStreamHandlerFactory. So, a best approach will be to resolve this issue
> inside Pax Runner.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general