ISPN-4317 Optimize server test suite

 * all tests for remote queries use the same server
 * removed unnecessary test cases for the suppress-state-transfer tests and merged hotrod and memcached cases
 * merged single-node jdbc tests
 * added proper server killing (a small arquillian extension by Martin which was forgotten during the migration)
 * moved the Unstable category from class level to the failing method in ExampleConfigsTests
 * removed some server starts from TransportStackConfigurationIT test

This saves ~40 server starts (from ~130), which should translate to >10 minutes in teamcity (server start takes ~15 seconds there). 
Phone auto correct failure.  Actually the bigger question is do we test on
aix with IBM JVM? Or certify that platform because they don't provide the
various executables like jps stack and others
On Jul 20, 2014 3:57 PM, "William Burns" <mudokonman@gmail.com> wrote:

> Jps doesn't work on aix actually but we don't treat that do we?
> On Jul 20, 2014 3:55 PM, "Dan Berindei" <notifications@github.com> wrote:
>
>> In
>> server/integration/testsuite/src/test/java/org/infinispan/server/test/util/arquillian/extensions/InfinispanServerKillProcessor.java:
>>
>> > +        Process p = null;
>> > +
>> > +        if (osName.startsWith("Linux")) {
>> > +            killSequence = "kill -9 `ps aux | grep -v 'grep' | grep 'jboss.home.dir=[jbossHome] ' | sed -re '1,$s/[ \\t]+/ /g' | cut -d ' ' -f 2`";
>> > +            killSequence = killSequence.replace("[jbossHome]", container.getContainerConfiguration().getContainerProperties()
>> > +                    .get("jbossHome"));
>> > +            p = Runtime.getRuntime().exec(new String[]{"sh", "-c", killSequence});
>> > +            executeKill(p, killSequence);
>> > +        } else if (osName.startsWith("Mac OS X")) {
>> > +            killSequence = "ps aux | grep -v grep | grep 'jboss.home.dir=[jbossHome]' | awk '{ print $2 }' |xargs kill -9";
>> > +            killSequence = killSequence.replace("[jbossHome]", container.getContainerConfiguration().getContainerProperties()
>> > +                    .get("jbossHome"));
>> > +            p = Runtime.getRuntime().exec(new String[]{"sh", "-c", killSequence});
>> > +            executeKill(p, killSequence);
>> > +        } else if (osName.startsWith("SunOS")) {
>> > +            killSequence = "jps | grep jboss-modules.jar | cut -f 1 -d ' ' | head -1 | xargs kill -9";
>>
>> Shouldn't jps work on every platform?
>>
>> —
>> Reply to this email directly or view it on GitHub
>> <https://github.com/infinispan/infinispan/pull/2669/files#r15151957>.
>>
>