From 964b03e8dff70cfb568ef532d87f914bacf7b55e Mon Sep 17 00:00:00 2001 From: Edouard Marquez Date: Tue, 6 Aug 2024 19:56:54 +0200 Subject: [PATCH] Reset durations --- .../github/scrachx/openfood/network/ProductsAPITest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/testOff/java/openfoodfacts/github/scrachx/openfood/network/ProductsAPITest.kt b/app/src/testOff/java/openfoodfacts/github/scrachx/openfood/network/ProductsAPITest.kt index 4ce27fa89042..432814f27d4a 100644 --- a/app/src/testOff/java/openfoodfacts/github/scrachx/openfood/network/ProductsAPITest.kt +++ b/app/src/testOff/java/openfoodfacts/github/scrachx/openfood/network/ProductsAPITest.kt @@ -198,8 +198,8 @@ class ProductsAPITest { fun setupClient() { val httpClientWithAuth = OkHttpClient.Builder() .addInterceptor(HttpLoggingInterceptor().setLevel(HttpLoggingInterceptor.Level.BODY)) - .connectTimeout(Duration.ofSeconds(30)) - .readTimeout(Duration.ofSeconds(30)) + .connectTimeout(Duration.ZERO) + .readTimeout(Duration.ZERO) .addInterceptor { val origReq = it.request() it.proceed(