[
https://issues.apache.org/jira/browse/GEODE-5803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16654461#comment-16654461
]
ASF subversion and git services commented on GEODE-5803:
--------------------------------------------------------
Commit 898a06a414eeb2b3d6d0d8fd7951d022730728a3 in geode's branch
refs/heads/feature/GEODE-5875 from [~rhoughton]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=898a06a ]
GEODE-5803 Make geode-core:integrationTest not need geode-core:test (#2612)
* GEODE-5803 Make geode-core:integrationTest not need geode-core:test
Move-refactor only, plus build.gradle to point integration at junit and
geode-core:distributedTest to use geode-core:test explicitly (to be
changed in next commit)
Co-authored-by: Patrick Rhomberg <[email protected]>
Co-authored-by: Robert Houghton <[email protected]>
* GEODE-5803 Move refactor many test resources to the correct sourceSet
Continue breaking the dependency between integrationTest and test
sourceSets
Co-authored-by: Patrick Rhomberg <[email protected]>
Co-authored-by: Robert Houghton <[email protected]>
* GEODE-5803 Update assembly-content for new items in geode-junit
Move-refactor into geode-junit:main sourceSet has caused new classes to
appear on the assemblycontent test.
Co-authored-by: Patrick Rhomberg <[email protected]>
Co-authored-by: Robert Houghton <[email protected]>
* Bump to rerun precheckin after Concourse instability.
> Code Cleanup: remove pathological geode-core test source set assignment.
> ------------------------------------------------------------------------
>
> Key: GEODE-5803
> URL: https://issues.apache.org/jira/browse/GEODE-5803
> Project: Geode
> Issue Type: Sub-task
> Reporter: Patrick Rhomberg
> Assignee: Patrick Rhomberg
> Priority: Major
> Labels: pull-request-available
> Time Spent: 2h 50m
> Remaining Estimate: 0h
>
> {noformat}
> // geode-core/build.gradle:217-223
> dependencies {
> // Integration Tests
> integrationTestCompile sourceSets.test.output
> // Distributed Tests
> distributedTestCompile sourceSets.integrationTest.output
> }
> {noformat}
> The above is a severe gradle anti-pattern. Source sets should be defined via
> our testing facets, and any dependences that {{integrationTestCompile}} or
> {{distributedTestCompile}} required should be explicitly stated.
> At a preliminary glance, this appears to have been done to avoid detangling
> the tight coupling of {{geode-core:test:org.apache.geode.test.process}},
> {{*.test.golden}}, and these classes consumption in other modules.
> A module should not consume another module's test output. These classes
> should be promoted to "main" classes within the {{geode-junit}} or
> {{geode-dunit}} structures, as appropriate.
> Some discussion on this exists in the previous pull request, #2549.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)