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

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

Commit c5efb80518abc2a2c7390af1d46e7c5892801e55 in incubator-geode's branch 
refs/heads/develop from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=c5efb80 ]

GEODE-714: Modify all tests to use JUnit Categories

* Add DistributedTest @Category to DistributedTestCase
* Rename disabled tests and use @Ignore instead.
* Add ContainerTest, HydraTest categories.
* Ensure ever *Test has a @Category.
* 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.
* Modify DUnitLauncher to get name of ChildVM.class from the class itself.


> 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
>             Fix For: 1.0.0-incubating
>
>
> 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)

Reply via email to