Skip to content

Commit cb6c2c1

Browse files
authored
test: increase timeout to prevent flakiness (#1205)
Increase test timeout to prevent flaky failures on (very) slow build environments. Fixes #1204
1 parent 81da629 commit cb6c2c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public class AsyncResultSetImplStressTest {
5656
private static final int TEST_RUNS = 25;
5757

5858
/** Timeout is applied to each test case individually. */
59-
@Rule public Timeout timeout = new Timeout(120, TimeUnit.SECONDS);
59+
@Rule public Timeout timeout = new Timeout(240, TimeUnit.SECONDS);
6060

6161
@Parameter(0)
6262
public int resultSetSize;

0 commit comments

Comments
 (0)