You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/12/28 22:45:49 UTC

[jira] [Commented] (GEODE-714) Add @DistributedTest to DistributedTestCase

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

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

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

GEODE-714: Modify all tests to use JUnit Categories

* Add DistributedTest @Category to DistributedTestCase

* Rename disabled tests and use @Ignore instead.

* Add PerformanceTest @Category to performance tests.

* Disable performance tests that perform no assertions.

* Modify build to check all tests for categories.

* Modify build to use **/*Test.class pattern for all testing tasks.


> Add @DistributedTest to DistributedTestCase
> -------------------------------------------
>
>                 Key: GEODE-714
>                 URL: https://issues.apache.org/jira/browse/GEODE-714
>             Project: Geode
>          Issue Type: Sub-task
>          Components: tests
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>
> 1) Add @DistributedTest to DistributedTestCase
> 2) Modify distributedTest task to:
> {noformat}
>   task distributedTest(type:Test) {
>     include '**/*DUnitTest.class'
>     // maxParallelForks = 2
>     // maxParallelForks = Runtime.runtime.availableProcessors()
>     useJUnit {
>       excludeCategories 'com.gemstone.gemfire.test.junit.categories.UnitTest'
>       excludeCategories 'com.gemstone.gemfire.test.junit.categories.IntegrationTest'
>       includeCategories 'com.gemstone.gemfire.test.junit.categories.DistributedTest'
>     }
>     //I'm hoping this might deal with SOME OOMEs I've seen
>     forkEvery 30
>   }
> {noformat}



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