Skip to content

Commit 19eee1c

Browse files
committed
Fix ITEndToEndTracingTest error on direct path build
1 parent 9f81dbb commit 19eee1c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITEndToEndTracingTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import com.google.api.gax.core.FixedCredentialsProvider;
2323
import com.google.api.gax.rpc.ApiException;
2424
import com.google.api.gax.rpc.ResourceExhaustedException;
25-
import com.google.api.gax.rpc.StatusCode;
2625
import com.google.cloud.spanner.Database;
2726
import com.google.cloud.spanner.DatabaseClient;
2827
import com.google.cloud.spanner.IntegrationTestEnv;
@@ -119,7 +118,6 @@ private void assertTrace(String traceId) throws IOException, InterruptedExceptio
119118
foundTrace = true;
120119
break;
121120
} catch (ApiException apiException) {
122-
assertThat(apiException.getStatusCode().getCode()).isEqualTo(StatusCode.Code.NOT_FOUND);
123121
Thread.sleep(5000L);
124122
}
125123
}

0 commit comments

Comments
 (0)