Fix inverted condition so we never cache rest integ tests
This commit is contained in:
parent
3204e0255c
commit
74813360ab
|
@ -26,6 +26,7 @@ import org.gradle.api.Task
|
|||
import org.gradle.api.execution.TaskExecutionAdapter
|
||||
import org.gradle.api.logging.Logger
|
||||
import org.gradle.api.logging.Logging
|
||||
import org.gradle.api.specs.Specs
|
||||
import org.gradle.api.tasks.Copy
|
||||
import org.gradle.api.tasks.Input
|
||||
import org.gradle.api.tasks.TaskState
|
||||
|
@ -79,10 +80,7 @@ class RestIntegTestTask extends DefaultTask {
|
|||
|
||||
// disable the build cache for rest test tasks
|
||||
// there are a number of inputs we aren't properly tracking here so we'll just not cache these for now
|
||||
runner.getOutputs().doNotCacheIf(
|
||||
"Caching is disabled for REST integration tests",
|
||||
{ false }
|
||||
);
|
||||
runner.getOutputs().doNotCacheIf("Caching is disabled for REST integration tests", Specs.SATISFIES_ALL)
|
||||
|
||||
// override/add more for rest tests
|
||||
runner.maxParallelForks = 1
|
||||
|
|
Loading…
Reference in New Issue