You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Kirk Lund (JIRA)" <ji...@apache.org> on 2016/04/15 02:13:25 UTC

[jira] [Created] (GEODE-1233) Apply FlakyTest category to every test method with a CI failure bug filed against it

Kirk Lund created GEODE-1233:
--------------------------------

             Summary: Apply FlakyTest category to every test method with a CI failure bug filed against it
                 Key: GEODE-1233
                 URL: https://issues.apache.org/jira/browse/GEODE-1233
             Project: Geode
          Issue Type: Test
          Components: tests
            Reporter: Kirk Lund


The pattern for adding this is:

@Category(FlakyTest.class) // GEODE-xxx
public void nameOfTheTest() throws Exception {

...where GEODE-xxx is the bug filed against that test method.

Two examples:

1) JUnit4 DistributedTest: GEODE-1227: ClientCommandsDUnitTest.testDescribeMixClientWithServers
{noformat}
  @Category(FlakyTest.class) // GEODE-1227
  @Test
  public void testDescribeMixClientWithServers() throws Exception {
{noformat}

2) JUnit3 DistributedTest: GEODE-1208: PersistentPartitionedRegionDUnitTest.testBug42226
{noformat} 
  @Category(FlakyTest.class)
  public void testBug42226() throws Throwable {
{noformat}

3) IntegrationTest: GEODE-1229: LocatorLauncherRemoteJUnitTest.testStartOverwritesStalePidFile
{noformat}
  @Category(FlakyTest.class)
  @Test
  public void testStartOverwritesStalePidFile() throws Throwable {
{noformat} 





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)