Skip to content

Commit

Permalink
Disable test runner task when not running with testclusters (#45659)
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-vieira committed Aug 16, 2019
1 parent e243bbd commit 0e375e6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ class RestIntegTestTask extends DefaultTask {
boolean usesTestclusters = project.plugins.hasPlugin(TestClustersPlugin.class)
if (usesTestclusters == false) {
clusterConfig = project.extensions.create("${name}Cluster", ClusterConfiguration.class, project)
runner.outputs.doNotCacheIf("Caching is disabled when using ClusterFormationTasks", { true })
} else {
project.testClusters {
"$name" {
Expand Down

0 comments on commit 0e375e6

Please sign in to comment.