Skip to content

Commit 5140fff

Browse files
abhinav-qlogicsduskis
authored andcommitted
---
yaml --- r: 33109 b: refs/heads/autosynth-kms c: 661e461 h: refs/heads/master i: 33107: 28a7c81
1 parent f5b3ea5 commit 5140fff

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ refs/heads/autosynth-dialogflow: 73974cc32e5212aec0126472e0bc1442886fedaf
132132
refs/heads/autosynth-errorreporting: effe8001d110ad584187b30aafc473db0dd4a15f
133133
refs/heads/autosynth-firestore: e79eeb26930dfae4439424ad2fda5874eeca54c8
134134
refs/heads/autosynth-iot: 044be280805a59e06d09658688c9ee474a9815ad
135-
refs/heads/autosynth-kms: 080b6be2af3922c8c2a2ff8702b3bb49f7622972
135+
refs/heads/autosynth-kms: 661e461ee6ccf957bb8741cb807c6f63be4ce69f
136136
refs/heads/autosynth-language: e73905aa7672afa47240e65b25c087207f4594f9
137137
refs/heads/autosynth-os-login: 123ba209c5769d0ee067e0ce5848bec13b42a4f4
138138
refs/heads/autosynth-redis: 6bedce4d7c7c6ca6a22e83ad1780e08fdc565a9e

branches/autosynth-kms/google-cloud-examples/src/test/java/com/google/cloud/examples/pubsub/snippets/ITPubSubSnippets.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
import com.google.cloud.pubsub.v1.Publisher;
2828
import com.google.cloud.pubsub.v1.SubscriptionAdminClient;
2929
import com.google.cloud.pubsub.v1.TopicAdminClient;
30+
import com.google.common.util.concurrent.MoreExecutors;
3031
import com.google.pubsub.v1.ProjectSubscriptionName;
3132
import com.google.pubsub.v1.ProjectTopicName;
3233
import com.google.pubsub.v1.PubsubMessage;
@@ -92,7 +93,8 @@ public void onSuccess(String messageId) {
9293
public void onFailure(Throwable t) {
9394
done.setException(t);
9495
}
95-
});
96+
},
97+
MoreExecutors.directExecutor());
9698
done.get();
9799
} finally {
98100
if (publisher != null) {

0 commit comments

Comments
 (0)