-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
1.1.6.Final
-
None
-
None
While integrating Camel in EAP I noticed that @BeforeClass, @Before and @Test methods are being called with the TCCL of the test deployment.
Camel happens to rely on TCCL, which is of course questionable in a modular environment. As a result it uses the test deployment's CL for resource discovery. Tests pass in the context of ARQ, but would not in a normal usage scenario when TCCL is not set or set to something else.
IMHO, ARQ should stay out of the business of setting TCCL. Ideally it would even reset the TCCL to null before calling test code. This would provide a portable known base line across various containers.
Related: https://github.com/wildfly-extras/wildfly-camel/issues/292
- is related to
-
ARQ-1880 Arquillian core relies on TCCL to load infra
- Closed