Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1090552

Summary: [QE] (6.3.0) EJBEndpointAuthenticationTestCase sometimes produces confusing error messages due to reverse order of assert parameters
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Pavel Jelinek <pjelinek>
Component: TestsuiteAssignee: Pavel Jelinek <pjelinek>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Jelinek <pjelinek>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: cdewolf, kkhan
Target Milestone: ER6   
Target Release: EAP 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1090554 (view as bug list) Environment:
Last Closed: 2014-06-28 15:42:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1090554    

Description Pavel Jelinek 2014-04-23 15:03:16 UTC
When OracleJDK 1.6 socket closed issue (https://bugzilla.redhat.com/show_bug.cgi?id=908701#c5) happens some EJBEndpointAuthenticationTestCase methods give error messages like
'expected:<[SocketException invoking http://10.16.93.209:8080/jaxws-authentication-ejb3/EJB3AuthService: Socket Clos]ed> but was:<[JBAS014502: Invocation on method: public java.lang.String org.jboss.as.test.integration.ws.authentication.EJBEndpoint.hello(java.lang.String) of bean: EJBEndpoint is not allow]ed>'
see: 
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP6-AS-Testsuite/job/eap-60-as-testsuite-RHEL-matrix-OracleJDK6/151/jdk=java16_default,label_exp=RHEL6%26%26x86/testReport/org.jboss.as.test.integration.ws.authentication/EJBEndpointAuthenticationTestCase/accessHelloForRoleWithInvalidRole/

The order of expected and actual parameters should be switched.

Comment 2 Pavel Jelinek 2014-05-14 13:49:52 UTC
Fixed in EAP 6.3.0.ER4

Comment 3 Pavel Jelinek 2014-05-19 13:00:11 UTC
Unfortunatelly there are yet other methods with reverse order of assert parameters in this testcase.

Comment 5 Pavel Jelinek 2014-06-13 13:12:13 UTC
Verified for EAP 6.3.0.ER7

Comment 6 JBoss JIRA Server 2016-10-18 10:21:19 UTC
Radim Hatlapatka <rhatlapa> updated the status of jira JBQA-9708 to Closed