Minor: wait for gradle daemon to stop in tests
KT-8487
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ abstract class BaseGradleIT {
|
|||||||
println("Stopping gradle daemon v$ver")
|
println("Stopping gradle daemon v$ver")
|
||||||
val wrapperDir = File(resourcesRootFile, "GradleWrapper-$ver")
|
val wrapperDir = File(resourcesRootFile, "GradleWrapper-$ver")
|
||||||
val cmd = createGradleCommand(arrayListOf("-stop"))
|
val cmd = createGradleCommand(arrayListOf("-stop"))
|
||||||
createProcess(cmd, wrapperDir)
|
createProcess(cmd, wrapperDir).waitFor()
|
||||||
}
|
}
|
||||||
|
|
||||||
fun createProcess(cmd: List<String>, projectDir: File): Process {
|
fun createProcess(cmd: List<String>, projectDir: File): Process {
|
||||||
|
|||||||
Reference in New Issue
Block a user