Class ServerKillerExtension

java.lang.Object
org.jboss.as.arquillian.protocol.jmx.ServerKillerExtension

public class ServerKillerExtension extends Object
Massive hack that attempts to improve test suite reliability by killing servers between runs

This means that if a server fails to stop it will not affect later runs

Author:
Stuart Douglas
  • Field Details

    • ORG_WILDFLY_TEST_KILL_SERVERS_BEFORE_TEST

      public static final String ORG_WILDFLY_TEST_KILL_SERVERS_BEFORE_TEST
      See Also:
  • Constructor Details

    • ServerKillerExtension

      public ServerKillerExtension()
  • Method Details

    • beforeSuite

      public void beforeSuite(@Observes org.jboss.arquillian.container.spi.event.container.BeforeSetup start)
    • killServers

      public void killServers()
    • throwErrpr

      public void throwErrpr(@Observes org.jboss.arquillian.test.spi.event.suite.AfterSuite start)
    • readString

      public static String readString(InputStream file)