Class 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 Detail

      • ORG_WILDFLY_TEST_KILL_SERVERS_BEFORE_TEST

        public static final String ORG_WILDFLY_TEST_KILL_SERVERS_BEFORE_TEST
        See Also:
        Constant Field Values
    • Constructor Detail

      • ServerKillerExtension

        public ServerKillerExtension()
    • Method Detail

      • 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)