diff --git a/src/test/groovy/net/fabricmc/loom/test/integration/buildSrc/stopDaemon/TestPlugin.groovy b/src/test/groovy/net/fabricmc/loom/test/integration/buildSrc/stopDaemon/TestPlugin.groovy index 0c885d3c5..b2743e410 100644 --- a/src/test/groovy/net/fabricmc/loom/test/integration/buildSrc/stopDaemon/TestPlugin.groovy +++ b/src/test/groovy/net/fabricmc/loom/test/integration/buildSrc/stopDaemon/TestPlugin.groovy @@ -85,7 +85,7 @@ class TestPlugin implements Plugin { def future = handler.daemonConnection.thenAccept { it.waitForAndProcessStop() } // Stop the daemon - def result = DaemonUtils.stopWhenIdle(project) + def result = DaemonUtils.stopWhenIdle(DaemonUtils.Context.fromProject(project)) // Wait for the connection to be processed, this should have already happened, as the above call is blocking future.join() diff --git a/src/test/groovy/net/fabricmc/loom/test/unit/ProcessUtilTest.groovy b/src/test/groovy/net/fabricmc/loom/test/unit/ProcessUtilTest.groovy index 76a96ea38..41adc1aab 100644 --- a/src/test/groovy/net/fabricmc/loom/test/unit/ProcessUtilTest.groovy +++ b/src/test/groovy/net/fabricmc/loom/test/unit/ProcessUtilTest.groovy @@ -24,15 +24,13 @@ package net.fabricmc.loom.test.unit -import org.gradle.api.logging.LogLevel -import spock.lang.Specification - import net.fabricmc.loom.util.ProcessUtil +import spock.lang.Specification class ProcessUtilTest extends Specification { def "print process info"() { when: - def output = new ProcessUtil(LogLevel.DEBUG).printWithParents(ProcessHandle.current()) + def output = new ProcessUtil(ProcessUtil.ArgumentVisibility.SHOW_SENSITIVE).printWithParents(ProcessHandle.current()) then: // Just a simple check to see if the output is not empty