Gary Brown created BAM-102:
------------------------------
Summary: Class loading issue with custom events
Key: BAM-102
URL:
https://issues.jboss.org/browse/BAM-102
Project: Business Activity Monitoring
Issue Type: Task
Reporter: Gary Brown
Assignee: Gary Brown
Fix For: 1.0.0.M4
When custom event tests were in separate junit test classes, when running in jenkins they
still seemed to be ran within the same server session - although all of the artifacts were
undeployed and redeployed.
When the second test was run, the 'HandleCustomActivityEventProcessor' was not
finding the events due to the 'instanceof' test failing - even though the events
were CustomActivityEvents. So looks like some form of classloader issue, i.e. two
different instances of the CustomActivityEvent class, both associated with different class
loaders.
For now have moved both tests into the same junit class - originally they were separated
to avoid impacting each other, as depending upon the order they were run, they had
different effects. But have updated the test to overcome this ordering issue.
Need to construct some form of test showing the custom event epn being updated - not sure
whether arquillian will support this, or whether it will just be a manual test.
--
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