Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Commit 2767d28

Browse files
committed
test: unflake ReadAsyncTest
1 parent e62f5ab commit 2767d28

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

google-cloud-spanner/src/test/java/com/google/cloud/spanner/ReadAsyncTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,9 @@ public void invalidDatabase() {
201201
}
202202

203203
@Test
204-
public void tableNotFound() throws Exception {
204+
public void tableNotFound() {
205205
mockSpanner.setStreamingReadExecutionTime(
206-
SimulatedExecutionTime.ofException(
206+
SimulatedExecutionTime.ofStickyException(
207207
Status.NOT_FOUND
208208
.withDescription("Table not found: BadTableName")
209209
.asRuntimeException()));

0 commit comments

Comments
 (0)