Skip to content

Commit f074ba8

Browse files
elisheva-qlogicsduskis
authored andcommitted
---
yaml --- r: 15239 b: refs/heads/autosynth-bigtable c: b92a48b h: refs/heads/master i: 15237: e620966 15235: 0bd6ed9 15231: cb2661d
1 parent 560e6c0 commit f074ba8

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ refs/heads/autosynth-asset: cd8251de8c40e239ad24dcf9ed93ea2708a3eed5
126126
refs/heads/autosynth-automl: cced2f56bbef0499609073edbca6253e1df5e535
127127
refs/heads/autosynth-bigquerydatatransfer: a6667617707608b1dbfb02d59c22b5152f208da7
128128
refs/heads/autosynth-bigquerystorage: 14ab055598b943ae3f33f484e9fb1653355d08e7
129-
refs/heads/autosynth-bigtable: 9c47e1b4ff84f5ac07b0b38848e662c0e7eb3dad
129+
refs/heads/autosynth-bigtable: b92a48b90f0f6b5b0749afe30523a9097958229b
130130
refs/heads/autosynth-bigtable-admin: 6379a2bc712f2736c83de0e009b4d26da4fa82ca
131131
refs/heads/autosynth-containeranalysis: 781fdb430a60f9a6491f116e31e4e10118157bdb
132132
refs/heads/autosynth-datastore: af1fb76aa3eee02fe6f31f8fa1c72a4f048d149b

branches/autosynth-bigtable/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/mutaterows/MutateRowsAttemptCallable.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,8 @@ public Void call() {
185185

186186
// Handle RPC level errors by wrapping them in a MutateRowsException
187187
ApiFuture<List<MutateRowsResponse>> catching =
188-
ApiFutures.catching(innerFuture, Throwable.class, attemptFailedCallback);
188+
ApiFutures.catching(
189+
innerFuture, Throwable.class, attemptFailedCallback, MoreExecutors.directExecutor());
189190

190191
// Inspect the results and either propagate the success, or prepare to retry the failed
191192
// mutations

branches/autosynth-bigtable/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/env/Emulator.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,8 @@ private void waitForPort(int port) throws InterruptedException, TimeoutException
172172
}
173173

174174
private ManagedChannel createChannel(int port) {
175-
// NOTE: usePlaintext is currently @ExperimentalAPI. In grpc 1.11 it be became parameterless.
176-
// In 1.12 it should be stable. See https://github.com/grpc/grpc-java/issues/1772 for discussion
177175
return ManagedChannelBuilder.forAddress("localhost", port)
178-
.usePlaintext(true)
176+
.usePlaintext()
179177
.maxInboundMessageSize(256 * 1024 * 1024)
180178
.build();
181179
}

branches/autosynth-bigtable/google-cloud-clients/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,8 @@ private static String getActiveGoogleCloudConfig(File configDir) {
349349
String activeGoogleCloudConfig = null;
350350
try {
351351
activeGoogleCloudConfig =
352-
Files.readFirstLine(new File(configDir, "active_config"), Charset.defaultCharset());
352+
Files.asCharSource(new File(configDir, "active_config"), Charset.defaultCharset())
353+
.readFirstLine();
353354
} catch (IOException ex) {
354355
// ignore
355356
}

0 commit comments

Comments
 (0)