From 4688b63ff1e023716b7a252ce16d64c2c0670067 Mon Sep 17 00:00:00 2001 From: Tim Swast Date: Fri, 9 Dec 2016 13:04:43 -0800 Subject: [PATCH] Use latest (beta) versions of cloud client libraries. Note this wasn't automatically done because dpebot currently skips beta releases. We can look at how to add an exception for the com.google.cloud libraries if they are going to stay beta a while. --- bigquery/cloud-client/pom.xml | 2 +- datastore/cloud-client/pom.xml | 2 +- datastore/pom.xml | 2 +- .../java/com/google/datastore/snippets/ConceptsTest.java | 6 ++++-- flexible/cloudstorage/pom.xml | 2 +- flexible/datastore/pom.xml | 2 +- language/cloud-client/pom.xml | 2 +- logging/cloud-client/pom.xml | 2 +- pom.xml | 1 + storage/cloud-client/pom.xml | 2 +- 10 files changed, 13 insertions(+), 10 deletions(-) diff --git a/bigquery/cloud-client/pom.xml b/bigquery/cloud-client/pom.xml index 3120ca2bb63..aef17e92743 100644 --- a/bigquery/cloud-client/pom.xml +++ b/bigquery/cloud-client/pom.xml @@ -37,7 +37,7 @@ com.google.cloud google-cloud-bigquery - 0.7.0 + 0.8.0-beta diff --git a/datastore/cloud-client/pom.xml b/datastore/cloud-client/pom.xml index a6eaef9a295..ca35eda02e7 100644 --- a/datastore/cloud-client/pom.xml +++ b/datastore/cloud-client/pom.xml @@ -37,7 +37,7 @@ com.google.cloud google-cloud-datastore - 0.7.0 + 0.8.0-beta diff --git a/datastore/pom.xml b/datastore/pom.xml index 1ecc14bd3da..464a6c1ae3e 100644 --- a/datastore/pom.xml +++ b/datastore/pom.xml @@ -35,7 +35,7 @@ com.google.cloud google-cloud-datastore - 0.7.0 + 0.8.0-beta diff --git a/datastore/src/test/java/com/google/datastore/snippets/ConceptsTest.java b/datastore/src/test/java/com/google/datastore/snippets/ConceptsTest.java index e00b09011e6..8970e83e2ba 100644 --- a/datastore/src/test/java/com/google/datastore/snippets/ConceptsTest.java +++ b/datastore/src/test/java/com/google/datastore/snippets/ConceptsTest.java @@ -51,6 +51,7 @@ import com.google.common.collect.ImmutableSet; import com.google.common.collect.Iterators; +import org.joda.time.Duration; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; @@ -72,6 +73,7 @@ import java.util.List; import java.util.Map; import java.util.TimeZone; +import java.util.concurrent.TimeoutException; /** * Contains Cloud Datastore snippets demonstrating concepts for documentation. @@ -133,8 +135,8 @@ public void setUp() { * @throws InterruptedException if there are errors stopping the local Datastore */ @AfterClass - public static void afterClass() throws IOException, InterruptedException { - HELPER.stop(); + public static void afterClass() throws IOException, InterruptedException, TimeoutException { + HELPER.stop(Duration.standardMinutes(1)); } private void assertValidKey(Key taskKey) { diff --git a/flexible/cloudstorage/pom.xml b/flexible/cloudstorage/pom.xml index 3852e2f67f5..50e617fb250 100644 --- a/flexible/cloudstorage/pom.xml +++ b/flexible/cloudstorage/pom.xml @@ -49,7 +49,7 @@ com.google.cloud google-cloud-storage - 0.7.0 + 0.8.0-beta diff --git a/flexible/datastore/pom.xml b/flexible/datastore/pom.xml index c864cd23d0c..79db82eec6c 100644 --- a/flexible/datastore/pom.xml +++ b/flexible/datastore/pom.xml @@ -49,7 +49,7 @@ com.google.cloud google-cloud-datastore - 0.7.0 + 0.8.0-beta diff --git a/language/cloud-client/pom.xml b/language/cloud-client/pom.xml index 81f665847b4..efd74f31603 100644 --- a/language/cloud-client/pom.xml +++ b/language/cloud-client/pom.xml @@ -37,7 +37,7 @@ com.google.cloud google-cloud-language - 0.7.0 + 0.8.0 diff --git a/logging/cloud-client/pom.xml b/logging/cloud-client/pom.xml index b7b774c3afb..8761a2c2af4 100644 --- a/logging/cloud-client/pom.xml +++ b/logging/cloud-client/pom.xml @@ -37,7 +37,7 @@ com.google.cloud google-cloud-logging - 0.7.0 + 0.8.0-beta diff --git a/pom.xml b/pom.xml index 9bad95df8c3..12ceb35d531 100644 --- a/pom.xml +++ b/pom.xml @@ -104,6 +104,7 @@ flexible/static-files flexible/twilio language/analysis + language/cloud-client logging logging/cloud-client monitoring/v2 diff --git a/storage/cloud-client/pom.xml b/storage/cloud-client/pom.xml index bfed75267b9..ff4fcd8bf5c 100644 --- a/storage/cloud-client/pom.xml +++ b/storage/cloud-client/pom.xml @@ -37,7 +37,7 @@ com.google.cloud google-cloud-storage - 0.7.0 + 0.8.0-beta