I took a closer look at PreloadedRegionTestCase...

PreloadedRegionTestCase was only recently "enabled" to run as a test by the
fix for GEODE-1374 (gradle changes for FlakyTests) and the fix
for GEODE-837 (upgrading all dunit tests to JUnit4).

Prior to that commit, it was not being executed as a DistributedTest. The
python script we used for GEODE-837 auto-applied the
"@Category(DistributedTest.class)" and then the gradle change for
GEODE-1374 started executing classes categorized with DistributedTest even
if the class name doesn't match *DUnitTest.

PreloadedRegionTestCase was added for GemFire 3.0 but does not currently
have any subclasses, so it may have been an unused class for an unknown
period of time. I believe we should file a ticket to deal with this class
(maybe turn it into a running/passing test) and annotate it with @Ignore
until we have time to work on it.

-Kirk

On Fri, Jun 17, 2016 at 3:35 PM, Anthony Baker <aba...@pivotal.io> wrote:

> The most recent jenkins run [1]  had 3 failures from non-flaky tests.  The
> geode-core tests seem to reproduce pretty easily.  Have there been any
> recent changes in this area?
>
>
> :geode-core:distributedTest
>
> com.gemstone.gemfire.cache30.
> PreloadedRegionTestCase
>  > testTXNonblockingGetInitialImage FAILED
>     com.gemstone.gemfire.test.dunit.RMIException: While invoking
> com.gemstone.gemfire.cache30.MultiVMRegionTestCase$205.runRepeatingIfNecessary
> in VM 2 running on Host asf905.gq1.ygridcore.net with 4 VMs
>
>         Caused by:
>         java.lang.AssertionError: expected:<1034> but was:<1198>
>
> com.gemstone.gemfire.cache30.PreloadedRegionTestCase >
> testNonblockingGetInitialImage FAILED
>     com.gemstone.gemfire.test.dunit.RMIException: While invoking
> com.gemstone.gemfire.cache30.MultiVMRegionTestCase$196.runRepeatingIfNecessary
> in VM 2 running on Host asf905.gq1.ygridcore.net with 4 VMs
>
>         Caused by:
>         java.lang.AssertionError: expected:<1034> but was:<1200>
>
> 7335 tests completed, 2 failed, 455 skipped
>
>
> :geode-web:distributedTest
>
> com.gemstone.gemfire.management.internal.cli.commands.CommandOverHttpDUnitTest
> >
> com.gemstone.gemfire.management.internal.cli.commands.gemfiredatacommandsdunittest.testsimulateforentir...@com.gemstone.gemfire.management.internal.cli.commands.CommandOverHttpDUnitTest
> FAILED
>     java.lang.AssertionError: expected:<OK> but was:<ERROR>
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.failNotEquals(Assert.java:834)
>         at org.junit.Assert.assertEquals(Assert.java:118)
>         at org.junit.Assert.assertEquals(Assert.java:144)
>         at
> com.gemstone.gemfire.management.internal.cli.commands.GemfireDataCommandsDUnitTest.testSimulateForEntireDS(GemfireDataCommandsDUnitTest.java:1831)
>
> 115 tests completed, 1 failed, 3 skipped
>
>
> Anthony
>
> [1] https://builds.apache.org/job/Geode-nightly/502/
>
>
>

Reply via email to