Disable test runner task when not running with testclusters (#45659)
This commit is contained in:
parent
e243bbdc2a
commit
0e375e6cd7
|
@ -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" {
|
||||
|
|
Loading…
Reference in New Issue