File tree Expand file tree Collapse file tree
main/kotlin/ftl/client/google Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package ftl.client.google
22
33import com.google.testing.model.FileReference
4+ import ftl.http.executeWithRetry
45
56fun getAndroidAppDetails (gcsAppPath : String ): String =
67 GcTesting .get.ApplicationDetailService ().getApkDetails(FileReference ().apply { gcsPath = gcsAppPath })
7- .execute ()?.apkDetail?.apkManifest?.packageName?.toString().orEmpty()
8+ .executeWithRetry ()?.apkDetail?.apkManifest?.packageName?.toString().orEmpty()
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import ftl.adapter.google.getFilePathToDownload
1111import ftl.api.Artifacts.DownloadPath
1212import ftl.args.AndroidArgs
1313import ftl.args.IosArgs
14+ import ftl.client.google.getAndroidAppDetails
1415import ftl.http.executeWithRetry
1516import ftl.test.util.FlankTestRunner
1617import ftl.test.util.LocalGcs
@@ -162,6 +163,11 @@ class TestRunnerTest {
162163 getMockedTestMatrix().apply { state = " RUNNING" },
163164 getMockedTestMatrix()
164165 )
166+ mockkStatic(" ftl.client.google.AppDetailsKt" )
167+ every {
168+ getAndroidAppDetails(any())
169+ } returns " "
170+
165171 runBlocking {
166172 localConfig.newTestRun()
167173 }
You can’t perform that action at this time.
0 commit comments