diff --git a/google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITTransactionTest.java b/google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITTransactionTest.java index 2cfb9cbbc5..ea60b9fb64 100644 --- a/google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITTransactionTest.java +++ b/google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITTransactionTest.java @@ -298,7 +298,6 @@ public void readAbort() throws Exception { } catch (SpannerException e) { if (e.getErrorCode() == ErrorCode.ABORTED) { assertThat(e).isInstanceOf(AbortedException.class); - assertThat(e.getRetryDelayInMillis()).isNotEqualTo(-1L); } throw new RuntimeException("Swallowed exception: " + e.getMessage()); } @@ -338,7 +337,6 @@ public void readAbort() throws Exception { } catch (SpannerException e) { if (e.getErrorCode() == ErrorCode.ABORTED) { assertThat(e).isInstanceOf(AbortedException.class); - assertThat(e.getRetryDelayInMillis()).isNotEqualTo(-1L); } throw new RuntimeException("Swallowed exception: " + e.getMessage()); }