Skip to content

Commit

Permalink
Update google-cloud-spanner/src/test/java/com/google/cloud/spanner/Is…
Browse files Browse the repository at this point in the history
…RetryableInternalErrorTest.java

Co-authored-by: Knut Olav Løite <koloite@gmail.com>
  • Loading branch information
rahul2393 and olavloite committed Jan 10, 2023
1 parent 488db15 commit c7344c0
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -17,6 +17,7 @@
package com.google.cloud.spanner;

import static com.google.common.truth.Truth.assertThat;
import static org.junit.Assert.assertTrue;

import com.google.api.gax.grpc.GrpcStatusCode;
import com.google.api.gax.rpc.InternalException;
Expand Down Expand Up @@ -123,7 +124,7 @@ public void rstStreamInternalExceptionIsRetryable() {
GrpcStatusCode.of(Code.INTERNAL),
false);

assertThat(predicate.apply(e)).isTrue();
assertTrue(predicate.apply(e));
}

@Test
Expand Down

0 comments on commit c7344c0

Please sign in to comment.