From c7c6f567564e96328d2c26cfc03be7fc6411e38e Mon Sep 17 00:00:00 2001 From: Ivan Semenov Date: Fri, 22 Feb 2019 14:50:58 +0300 Subject: [PATCH] [github] Bump number of cloning attempts to 10 --- .../org/jetbrains/plugins/github/GithubCreatePullRequestTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/github/test/org/jetbrains/plugins/github/GithubCreatePullRequestTest.kt b/plugins/github/test/org/jetbrains/plugins/github/GithubCreatePullRequestTest.kt index d8f804377aad..83a34253bd71 100644 --- a/plugins/github/test/org/jetbrains/plugins/github/GithubCreatePullRequestTest.kt +++ b/plugins/github/test/org/jetbrains/plugins/github/GithubCreatePullRequestTest.kt @@ -85,7 +85,7 @@ class GithubCreatePullRequestTest : GithubGitRepoTest() { repository.apply { git("remote add origin ${repo.cloneUrl}") // fork is initialized in background and there's nothing to poll - for (i in 1..5) { + for (i in 1..10) { try { git("fetch") break