[Gradle][test] Don't use daemon when testing environment variables
This commit is contained in:
+2
-2
@@ -669,14 +669,14 @@ class GeneralNativeIT : BaseGradleIT() {
|
||||
}
|
||||
|
||||
// Check that setting new value to tracked environment variable triggers tests rerun
|
||||
build("check", options = defaultBuildOptions().copy(androidHome = projectDir)) {
|
||||
build("check", options = defaultBuildOptions().copy(withDaemon = false, androidHome = projectDir)) {
|
||||
assertSuccessful()
|
||||
|
||||
assertTasksExecuted(*testsToExecute.toTypedArray())
|
||||
assertTasksSkipped(*testsToSkip.toTypedArray())
|
||||
}
|
||||
|
||||
build("check", options = defaultBuildOptions().copy(androidHome = projectDir)) {
|
||||
build("check", options = defaultBuildOptions().copy(withDaemon = false, androidHome = projectDir)) {
|
||||
assertSuccessful()
|
||||
|
||||
assertTasksUpToDate(*testsToExecute.toTypedArray())
|
||||
|
||||
Reference in New Issue
Block a user