Skip to content

Commit 4466b70

Browse files
authored
test: unflake ReadAsyncTest (#3693)
1 parent e62f5ab commit 4466b70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)