From fdd962e3486a630c5f7d266689b2e9b3c5bbd0a0 Mon Sep 17 00:00:00 2001 From: Pawel Pasterz Date: Mon, 2 Aug 2021 06:44:12 +0200 Subject: [PATCH] Get apk details with retry --- test_runner/src/main/kotlin/ftl/client/google/AppDetails.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test_runner/src/main/kotlin/ftl/client/google/AppDetails.kt b/test_runner/src/main/kotlin/ftl/client/google/AppDetails.kt index bc5af5d6fe..18df37007d 100644 --- a/test_runner/src/main/kotlin/ftl/client/google/AppDetails.kt +++ b/test_runner/src/main/kotlin/ftl/client/google/AppDetails.kt @@ -1,7 +1,8 @@ package ftl.client.google import com.google.testing.model.FileReference +import ftl.http.executeWithRetry fun getAndroidAppDetails(gcsAppPath: String): String = GcTesting.get.ApplicationDetailService().getApkDetails(FileReference().apply { gcsPath = gcsAppPath }) - .execute()?.apkDetail?.apkManifest?.packageName?.toString().orEmpty() + .executeWithRetry()?.apkDetail?.apkManifest?.packageName?.toString().orEmpty()