Skip to content

Commit f8f41b7

Browse files
shollymansduskis
authored andcommitted
---
yaml --- r: 32091 b: refs/heads/autosynth-dialogflow c: 5f045ef h: refs/heads/master i: 32089: e3a37e3 32087: 5d0c2ae
1 parent 0cebbe6 commit f8f41b7

3 files changed

Lines changed: 3 additions & 13 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ refs/heads/autosynth-bigtable: 2a6af7e2959fd79c99b8ca5d773f29a6434b546d
128128
refs/heads/autosynth-bigtable-admin: 6379a2bc712f2736c83de0e009b4d26da4fa82ca
129129
refs/heads/autosynth-containeranalysis: 18d210f81f17cf74864d0db2c29e834302f74f2a
130130
refs/heads/autosynth-datastore: f1efc3dc465174f41041acd56cf29badcec3e5bd
131-
refs/heads/autosynth-dialogflow: 7f07a1adf7c6adaed14791fa1f059bdc7284571a
131+
refs/heads/autosynth-dialogflow: 5f045ef212c60e819c6d5ba374b838036a19441b
132132
refs/heads/autosynth-errorreporting: 3f176c20b55dfaaa8fc32f28d82b31784b93e636
133133
refs/heads/autosynth-firestore: 983c75e4fb1076502c8cac73ef0538bdb10884f3
134134
refs/heads/autosynth-iot: 4025d1804241e74d54950a324dc4f667aeaad4b3

branches/autosynth-dialogflow/google-cloud-clients/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/stub/EnhancedBigQueryStorageStubSettingsTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public void testCreateReadSessionSettings() {
120120
public void testReadRowsSettings() {
121121
ServerStreamingCallSettings.Builder<ReadRowsRequest, ReadRowsResponse> builder =
122122
EnhancedBigQueryStorageStubSettings.newBuilder().readRowsSettings();
123-
assertThat(builder.getRetryableCodes()).containsAllOf(Code.DEADLINE_EXCEEDED, Code.UNAVAILABLE);
123+
assertThat(builder.getRetryableCodes()).contains(Code.UNAVAILABLE);
124124
RetrySettings retrySettings = builder.getRetrySettings();
125125
assertThat(retrySettings.getInitialRetryDelay()).isEqualTo(Duration.ofMillis(100L));
126126
assertThat(retrySettings.getRetryDelayMultiplier()).isWithin(1e-6).of(1.3);
@@ -157,7 +157,7 @@ public void testSplitReadStreamSettings() {
157157
}
158158

159159
private void verifyRetrySettings(Set<Code> retryCodes, RetrySettings retrySettings) {
160-
assertThat(retryCodes).containsAllOf(Code.DEADLINE_EXCEEDED, Code.UNAVAILABLE);
160+
assertThat(retryCodes).contains(Code.UNAVAILABLE);
161161
assertThat(retrySettings.getTotalTimeout()).isGreaterThan(Duration.ZERO);
162162
assertThat(retrySettings.getInitialRetryDelay()).isGreaterThan(Duration.ZERO);
163163
assertThat(retrySettings.getRetryDelayMultiplier()).isAtLeast(1.0);

branches/autosynth-dialogflow/google-cloud-clients/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/stub/readrows/ReadRowsRetryTest.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,6 @@ public void multipleRetryTestWithZeroInitialOffset() {
112112
.respondWithNumberOfRows(5)
113113
.respondWithStatus(Code.UNAVAILABLE));
114114

115-
service.expectations.add(
116-
RpcExpectation.create()
117-
.expectRequest("fake-stream", 5)
118-
.respondWithStatus(Code.DEADLINE_EXCEEDED));
119-
120115
service.expectations.add(
121116
RpcExpectation.create()
122117
.expectRequest("fake-stream", 5)
@@ -139,11 +134,6 @@ public void multipleRetryTestWithNonZeroInitialOffset() {
139134
.respondWithNumberOfRows(5)
140135
.respondWithStatus(Code.UNAVAILABLE));
141136

142-
service.expectations.add(
143-
RpcExpectation.create()
144-
.expectRequest("fake-stream", 22)
145-
.respondWithStatus(Code.DEADLINE_EXCEEDED));
146-
147137
service.expectations.add(
148138
RpcExpectation.create()
149139
.expectRequest("fake-stream", 22)

0 commit comments

Comments
 (0)