Re: Create JUnit Rules instead of extending other test classes

2017-02-16 Thread Kirk Lund
Running LocaotrUDPSecurityDUnitTest by itself using -DdistributedTest.single= results in skipping the test as expected. /gradlew -DdistributedTest.single=LocatorUDPSecurityDUnitTest geode-core:distributedTest 2017-02-16 14:27:46.076 -0800 Starting test org.apache.geode.distributed.LocatorUDPSecur

Re: Create JUnit Rules instead of extending other test classes

2017-02-16 Thread Kirk Lund
It's possible this might be caused by a bug in Gradle's JUnit task which is how Jenkins is running this test. The test method is skipped as expected when run in IntelliJ. On Thu, Feb 16, 2017 at 2:17 PM, Kirk Lund wrote: > LocatorUDPSecurityDUnitTest extends LocatorDUnitTest. > > LocatorDUnitTes

Create JUnit Rules instead of extending other test classes

2017-02-16 Thread Kirk Lund
LocatorUDPSecurityDUnitTest extends LocatorDUnitTest. LocatorDUnitTest has a test named testSSLEnabledLocatorDiesWhenConnectingToNonSSLLocator which is currently annotated with @Ignore. Despite the test being marked with @Ignore, apparently the test still gets executed by LocatorUDPSecurityDUnitT