geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kirk Lund (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GEODE-1233) Apply FlakyTest category to every test method with a CI failure bug filed against it
Date Fri, 15 Apr 2016 00:13:25 GMT
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)

Mime
View raw message