From 3476a47378a04cef74328ac7fdd1f7b944107ccd Mon Sep 17 00:00:00 2001 From: Stefano Franz Date: Mon, 9 Sep 2019 10:49:44 +0000 Subject: [PATCH] move irs-demo to slowIntegrationTest (#5447) --- samples/irs-demo/build.gradle | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/samples/irs-demo/build.gradle b/samples/irs-demo/build.gradle index a30bcfbbbe..2c3b3f5fea 100644 --- a/samples/irs-demo/build.gradle +++ b/samples/irs-demo/build.gradle @@ -30,7 +30,7 @@ apply plugin: 'application' mainClassName = 'net.corda.irs.IRSDemo' sourceSets { - integrationTest { + slowIntegrationTest { kotlin { compileClasspath += main.output + test.output runtimeClasspath += main.output + test.output @@ -47,8 +47,8 @@ sourceSets { } configurations { - integrationTestCompile.extendsFrom testCompile - integrationTestRuntimeOnly.extendsFrom testRuntimeOnly + slowIntegrationTestCompile.extendsFrom testCompile + slowIntegrationTestRuntimeOnly.extendsFrom testRuntimeOnly demoArtifacts.extendsFrom testRuntimeClasspath systemTestCompile.extendsFrom testCompile } @@ -79,7 +79,7 @@ dependencies { testCompile "org.assertj:assertj-core:${assertj_version}" - integrationTestCompile project(path: ":samples:irs-demo:web", configuration: "demoArtifacts") + slowIntegrationTestCompile project(path: ":samples:irs-demo:web", configuration: "demoArtifacts") testCompile "com.palantir.docker.compose:docker-compose-rule-junit4:$docker_compose_rule_version" testCompile "org.seleniumhq.selenium:selenium-java:$selenium_version" testCompile "com.github.detro:ghostdriver:$ghostdriver_version" @@ -89,9 +89,9 @@ bootRepackage { enabled = false } -task integrationTest(type: Test, dependsOn: []) { - testClassesDirs = sourceSets.integrationTest.output.classesDirs - classpath = sourceSets.integrationTest.runtimeClasspath +task slowIntegrationTest(type: Test, dependsOn: []) { + testClassesDirs = sourceSets.slowIntegrationTest.output.classesDirs + classpath = sourceSets.slowIntegrationTest.runtimeClasspath } evaluationDependsOn("cordapp")