[ 
https://issues.apache.org/jira/browse/GEODE-1233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kirk Lund updated GEODE-1233:
-----------------------------
    Description: 
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) // GEODE-1208
  public void testBug42226() throws Throwable {
{noformat}

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



  was:
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} 




> 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) // GEODE-1208
>   public void testBug42226() throws Throwable {
> {noformat}
> 3) IntegrationTest: GEODE-1229: 
> LocatorLauncherRemoteJUnitTest.testStartOverwritesStalePidFile
> {noformat}
>   @Category(FlakyTest.class) // GEODE-1227
>   @Test
>   public void testStartOverwritesStalePidFile() throws Throwable {
> {noformat} 



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

Reply via email to