Skip to content

Commit 1ebcedf

Browse files
authored
Surface failures when cloning test repo in gradle functional tests (#120005) (#120007)
1 parent dcb1394 commit 1ebcedf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/fixtures/AbstractGitAwareGradleFuncTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ abstract class AbstractGitAwareGradleFuncTest extends AbstractGradleFuncTest {
2424

2525
def setup() {
2626
remoteGitRepo = new File(setupGitRemote(), '.git')
27-
"git clone ${remoteGitRepo.absolutePath} cloned".execute(Collections.emptyList(), testProjectDir.root).waitFor()
27+
execute("git clone ${remoteGitRepo.absolutePath} cloned", testProjectDir.root)
2828
buildFile = new File(testProjectDir.root, 'cloned/build.gradle')
2929
settingsFile = new File(testProjectDir.root, 'cloned/settings.gradle')
3030
}

0 commit comments

Comments
 (0)