Scenario: server is stopped (killed), working with arquillian to check if server is started or not
Current implementation of the ManagementClient.isServerInRunningState catches only IOException (see ) and in such case false is returned. Otherwise exception is propagated upwards.
That's a problem in case that assertions are enabled - which is true statement for wildfly testsuite (see pom.xml, surefire configuration and <enableAssertions>true</enableAssertions>). As state of the server is checked with assertions as well  then test fails on such assertion instead of getting false as server is stopped.
In comparision with arquillian client for jboss-eap there is caught Throwable and returned false  which seems to me more correct.
Could you, please, forwardport arquillian client behaviour from JBoss EAP to WildFly?