Skip to content

Commit b65ec28

Browse files
authored
Temporary disable a few unit tests in SpannerChangeStreamErrorTest (#37003)
1 parent 84684ae commit b65ec28

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sdks/java/io/google-cloud-platform/src/test/java/org/apache/beam/sdk/io/gcp/spanner/changestreams/SpannerChangeStreamErrorTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
import org.joda.time.Duration;
7171
import org.junit.After;
7272
import org.junit.Before;
73+
import org.junit.Ignore;
7374
import org.junit.Rule;
7475
import org.junit.Test;
7576
import org.junit.rules.ExpectedException;
@@ -115,6 +116,7 @@ public void tearDown() throws NoSuchFieldException, IllegalAccessException {
115116
}
116117

117118
@Test
119+
@Ignore("https://github.com/apache/beam/issues/37002 Re-enable skipped tests.")
118120
// Error code UNAVAILABLE is retried repeatedly until the RPC times out.
119121
public void testUnavailableExceptionRetries() throws InterruptedException {
120122
DirectOptions options = PipelineOptionsFactory.as(DirectOptions.class);
@@ -155,6 +157,7 @@ public void testUnavailableExceptionRetries() throws InterruptedException {
155157
}
156158

157159
@Test
160+
@Ignore("https://github.com/apache/beam/issues/37002 Re-enable skipped tests.")
158161
// Error code ABORTED is retried repeatedly until it times out.
159162
public void testAbortedExceptionRetries() throws InterruptedException {
160163
mockSpannerService.setExecuteStreamingSqlExecutionTime(
@@ -218,6 +221,7 @@ public void testUnknownExceptionDoesNotRetry() {
218221
}
219222

220223
@Test
224+
@Ignore("https://github.com/apache/beam/issues/37002 Re-enable skipped tests.")
221225
// Error code RESOURCE_EXHAUSTED is retried repeatedly.
222226
public void testResourceExhaustedRetry() {
223227
mockSpannerService.setExecuteStreamingSqlExecutionTime(
@@ -281,6 +285,7 @@ public void testResourceExhaustedRetryWithDefaultSettings() {
281285
}
282286

283287
@Test
288+
@Ignore("https://github.com/apache/beam/issues/37002 Re-enable skipped tests.")
284289
public void testInvalidRecordReceived() {
285290
final Timestamp startTimestamp = Timestamp.ofTimeSecondsAndNanos(0, 1000);
286291
final Timestamp endTimestamp =

0 commit comments

Comments
 (0)