Bug 1034229 - [TEST] (6.3) Intermittent 'AssertionError: expected:<200> but was:<500>' in org.jboss.as.test.manualmode.ws.ReloadWSDLPublisherTestCase.testHelloStringAfterReload
Summary: [TEST] (6.3) Intermittent 'AssertionError: expected:<200> but was:<500>' in o...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Testsuite
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: DR0
: EAP 6.3.0
Assignee: Emmanuel Hugonnet (ehsavoie)
QA Contact: Pavel Jelinek
URL:
Whiteboard:
Depends On:
Blocks: 1049796
TreeView+ depends on / blocked
 
Reported: 2013-11-25 13:13 UTC by Pavel Jelinek
Modified: 2014-06-28 15:26 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1049796 (view as bug list)
Environment:
Last Closed: 2014-06-28 15:26:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
stacktrace and standard output (5.88 KB, application/zip)
2013-11-25 13:13 UTC, Pavel Jelinek
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1012416 0 unspecified CLOSED Intermittent 'AssertionError: expected:<200> but was:<404>' in org.jboss.as.test.manualmode.ws.ReloadWSDLPublisherTestCa... 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1067348 0 high CLOSED [TEST] (6.3) 'AssertionError: expected:<200> but was:<500>' in org.jboss.as.test.manualmode.ws.ReloadWSDLPublisherTestCa... 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker WFLY-2618 0 Minor Resolved Intermittent 'AssertionError: expected:<200> but was:<500>' in org.jboss.as.test.manualmode.ws.ReloadWSDLPublisherTestCa... 2014-05-19 08:22:34 UTC

Internal Links: 1012416 1067348

Comment 1 Emmanuel Hugonnet (ehsavoie) 2013-11-27 12:07:16 UTC
The issue is due to the fact that the jvm is reusing the same connection.
Setting keep-alive to false fixes it.

Comment 2 Jan Martiska 2013-12-05 12:01:35 UTC
Emmanuel is right, but keep-alive cannot be used with WS invocations (you don't have access to the underlying connection), so that would only resolve half of the problem. I think the best solution will be to add a 5 second wait until the pooled connections time out.

Comment 3 Emmanuel Hugonnet (ehsavoie) 2013-12-05 12:49:44 UTC
It is working by setting the keep-alive to false in the set up and resetting it to the previous value in the tear down.
I have a patch for this.
This avoid long( 5s) test.

Comment 4 Emmanuel Hugonnet (ehsavoie) 2013-12-05 12:51:16 UTC
https://github.com/ehsavoie/jboss-eap/tree/BZ-1034229 : the patch but I need to make one for upstream.

Comment 5 Jan Martiska 2013-12-05 13:07:18 UTC
Ok, I didn't think of this solution. We'll go with yours then.

Comment 6 Emmanuel Hugonnet (ehsavoie) 2013-12-06 15:25:25 UTC
PR : https://github.com/jbossas/jboss-eap/pull/720
Upstream : https://github.com/wildfly/wildfly/pull/5576

Comment 7 Pavel Jelinek 2014-02-20 10:08:12 UTC
Fixed for both ipv4 and dualstack in 6.3.0 DR0. I filled new https://bugzilla.redhat.com/show_bug.cgi?id=1067348 for pure ipv6.


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