geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-1233) Apply FlakyTest category to every test method with a CI failure bug filed against it
Date Thu, 21 Apr 2016 17:17:26 GMT

    [ https://issues.apache.org/jira/browse/GEODE-1233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15252235#comment-15252235
] 

ASF subversion and git services commented on GEODE-1233:
--------------------------------------------------------

Commit f12ece597eb003c18e752328526cd75df1609ae1 in incubator-geode's branch refs/heads/feature/GEODE-17-2
from [~apache@the9muses.net]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=f12ece5 ]

GEODE-1233: apply FlakyTest category to flickering tests

* perform basic analysis on all JIRA tickets filed against flickering (intermittently failing)
tests
* annotate each flickering test method with "@Category(FlakyTest.class) // GEODE-xxx: basic
analysis of pausible causes for flakiness"
* label each flickering JIRA ticket with "Flaky"
* add comment to each flickering JIRA ticket with the same "basic analysis of pausible causes
for flakiness"
* fix some obvious cases of "eats exceptions"
* add some TODOs to problem areas found in code


> 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
>            Assignee: Kirk Lund
>             Fix For: 1.0.0-incubating.M3
>
>
> 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)

Mime
View raw message