wildfly/wildfly — pull request #5576 by ehsavoie (2013-12-06 15:20:06+00:00)
Title: WFLY-2618 : Intermittent 'AssertionError: expected:<200> but was:<500>' ...

...in org.jboss.as.test.manualmode.ws.ReloadWSDLPublisherTestCase.testHelloStringAfterReload

The test was failing intermittently because per default the JVM is using HttpConnection with keep-alive and a timeout of 5s.
By setting the keep-alive to false in the setup and setting it to the value before the test on tear down we ensure a more stable test.

Jira : https://issues.jboss.org/browse/WFLY-2618
BZ : https://bugzilla.redhat.com/show_bug.cgi?id=1034229