Skip to content

Commit

Permalink
More cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
breskeby committed Sep 18, 2023
1 parent be8d370 commit 48cc60e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ class TestingConventionsPrecommitPluginFuncTest extends AbstractGradleInternalPl

def "applies conventions on yaml-rest-test tests"() {
given:
buildApiRestrictionsDisabled = true
clazz(dir('src/yamlRestTest/java'), "org.elasticsearch.test.rest.yaml.ESClientYamlSuiteTestCase")
buildFile << """
apply plugin:'elasticsearch.legacy-yaml-rest-test'
Expand Down Expand Up @@ -211,6 +212,7 @@ class TestingConventionsPrecommitPluginFuncTest extends AbstractGradleInternalPl
@Unroll
def "applies conventions on #sourceSetName tests"() {
given:
buildApiRestrictionsDisabled = pluginName.contains('legacy')
clazz(dir("src/${sourceSetName}/java"), "org.elasticsearch.test.ESIntegTestCase")
clazz(dir("src/${sourceSetName}/java"), "org.elasticsearch.test.rest.ESRestTestCase")
buildFile << """
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ abstract class AbstractGradleFuncTest extends Specification {
}

GradleRunner gradleRunner(File projectDir, Object... arguments) {
println "AbstractGradleFuncTest.gradleRunner"
return new NormalizeOutputGradleRunner(
new BuildConfigurationAwareGradleRunner(
new InternalAwareGradleRunner(
Expand Down

0 comments on commit 48cc60e

Please sign in to comment.