[ 
https://issues.apache.org/jira/browse/OWB-33?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Struberg updated OWB-33:
-----------------------------

    Attachment: OWB-33-2.patch

and easily fixed another test in the same suite the same way.

This patch is cumulative ie contains the first one.

> bug in EJBInterceptComponentTest#testMultipleInterceptedComponent
> -----------------------------------------------------------------
>
>                 Key: OWB-33
>                 URL: https://issues.apache.org/jira/browse/OWB-33
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Interceptor and Decorators
>            Reporter: Mark Struberg
>            Assignee: Gurkan Erdogdu
>         Attachments: OWB-33-2.patch, OWB-33.patch
>
>
> The test for EJBInterceptComponentTest#testMultipleInterceptedComponent 
> contains an error. 
> Since the context.getContextData() is a HashMap internally, the order of 
> "key" and "key2" is finally undefined.
> This make the checks
> Assert.assertEquals("key", arr[0]);
> Assert.assertEquals("key2", arr[1]);
> to fail sporadically.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to