From 5923d101c05e5b567c08cca59818262a1ba97805 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Fri, 9 Oct 2015 16:01:25 -0700 Subject: [PATCH] Increase connect and read timeout for storage service --- .../java/com/google/gcloud/storage/testing/RemoteGcsHelper.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcloud-java-storage/src/main/java/com/google/gcloud/storage/testing/RemoteGcsHelper.java b/gcloud-java-storage/src/main/java/com/google/gcloud/storage/testing/RemoteGcsHelper.java index 53353513a937..7a134b1d524a 100644 --- a/gcloud-java-storage/src/main/java/com/google/gcloud/storage/testing/RemoteGcsHelper.java +++ b/gcloud-java-storage/src/main/java/com/google/gcloud/storage/testing/RemoteGcsHelper.java @@ -133,6 +133,8 @@ public static RemoteGcsHelper create(String projectId, String keyPath, Option... .totalRetryPeriodMillis(120000) .initialRetryDelayMillis(250) .build()) + .connectTimeout(60000) + .readTimeout(60000) .build(); return new RemoteGcsHelper(storageOptions); } catch (FileNotFoundException ex) {