Bug 1024410 - CDI Cache interceptor tests are failing while running in EAP container
Summary: CDI Cache interceptor tests are failing while running in EAP container
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Infinispan
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ER5
: 6.2.0
Assignee: Tristan Tarrant
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks: 1017190
TreeView+ depends on / blocked
 
Reported: 2013-10-29 15:36 UTC by Anna Manukyan
Modified: 2013-12-09 10:55 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-09 10:55:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-3316 0 Major Resolved CDI Cache interceptor tests are failing while running in EAP container 2013-12-17 07:04:10 UTC

Description Anna Manukyan 2013-10-29 15:36:34 UTC
Please find the detailed bug description here:

https://issues.jboss.org/browse/ISPN-3316

Comment 2 JBoss JIRA Server 2013-11-20 12:27:51 UTC
Galder Zamarreño <galder.zamarreno> made a comment on jira ISPN-3316

@Anna, @Tristan, this went under the radar somehow. We discovered the same thing via a different path: quickstarts, in ISPN-3735.

@Anna, I'm currently working on a fix for this. Could you port over the tests you created in jdg-funbtional-tests to Infinispan Server?

Comment 3 JBoss JIRA Server 2013-11-20 14:30:25 UTC
Galder Zamarreño <galder.zamarreno> made a comment on jira ISPN-3316

The problem, as mentioned in ISPN-3735 is that t injected cache resolver is not being used as alternative implementation for the cache resolver. This is because in CDI 1.0, alternatives can only be applied for injections in application, and not in libraries used by the application. Instead, I've created a paralell set of InjectCache*Interceptor classes for when InjectedCacheResolver is needed. I've tested the CDI quickstart with EAP 7.2 and it works fine.

Comment 4 JBoss JIRA Server 2013-11-20 16:36:27 UTC
Galder Zamarreño <galder.zamarreno> made a comment on jira ISPN-3316

We're adding Wildfly CDI/JCache integration tests with this.

Comment 5 Vojtech Juranek 2013-12-09 10:55:35 UTC
Interceptors were moved into JCache, thus tests require JCache (or some other implementation of JSR107) which is not part of product, so closing.


Note You need to log in before you can comment on or make changes to this bug.