diff --git a/maestro-ios-driver/src/main/kotlin/xcuitest/XCTestDriverClient.kt b/maestro-ios-driver/src/main/kotlin/xcuitest/XCTestDriverClient.kt index 9f0a7cf3ed..a491a26f73 100644 --- a/maestro-ios-driver/src/main/kotlin/xcuitest/XCTestDriverClient.kt +++ b/maestro-ios-driver/src/main/kotlin/xcuitest/XCTestDriverClient.kt @@ -50,8 +50,8 @@ class XCTestDriverClient( } private val okHttpClient = OkHttpClient.Builder() - .connectTimeout(40, TimeUnit.SECONDS) - .readTimeout(100, TimeUnit.SECONDS) + .connectTimeout(1, TimeUnit.SECONDS) + .readTimeout(200, TimeUnit.SECONDS) .apply { httpInterceptor?.let { this.addInterceptor(it) diff --git a/maestro-ios-driver/src/main/kotlin/xcuitest/installer/LocalXCTestInstaller.kt b/maestro-ios-driver/src/main/kotlin/xcuitest/installer/LocalXCTestInstaller.kt index 8e3894ec1c..cca58defb8 100644 --- a/maestro-ios-driver/src/main/kotlin/xcuitest/installer/LocalXCTestInstaller.kt +++ b/maestro-ios-driver/src/main/kotlin/xcuitest/installer/LocalXCTestInstaller.kt @@ -142,7 +142,7 @@ class LocalXCTestInstaller( .build() val okHttpClient = OkHttpClient.Builder() - .connectTimeout(40, TimeUnit.SECONDS) + .connectTimeout(1, TimeUnit.SECONDS) .readTimeout(100, TimeUnit.SECONDS) .build()