Skip to content

Commit

Permalink
Fix inverted condition so we never cache rest integ tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-vieira committed May 29, 2019
1 parent d2d6167 commit 26a508b
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 26a508b

Please sign in to comment.