Skip to content

Commit b474509

Browse files
test: increase timeout to prevent flakiness (#1972)
* test: increase timeout to prevent flakiness * 🦉 Updates from OwlBot post-processor Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent c8e82fe commit b474509

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-spanner'
5656
If you are using Gradle without BOM, add this to your dependencies:
5757

5858
```Groovy
59-
implementation 'com.google.cloud:google-cloud-spanner:6.27.0'
59+
implementation 'com.google.cloud:google-cloud-spanner:6.28.0'
6060
```
6161

6262
If you are using SBT, add this to your dependencies:
6363

6464
```Scala
65-
libraryDependencies += "com.google.cloud" % "google-cloud-spanner" % "6.27.0"
65+
libraryDependencies += "com.google.cloud" % "google-cloud-spanner" % "6.28.0"
6666
```
6767

6868
## Authentication

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,7 @@ public void testExecutePartitionedDmlWithException() {
10501050

10511051
@Test
10521052
public void testPartitionedDmlDoesNotTimeout() {
1053-
mockSpanner.setExecuteSqlExecutionTime(SimulatedExecutionTime.ofMinimumAndRandomTime(10, 0));
1053+
mockSpanner.setExecuteSqlExecutionTime(SimulatedExecutionTime.ofMinimumAndRandomTime(20, 0));
10541054
final RetrySettings retrySettings =
10551055
RetrySettings.newBuilder()
10561056
.setInitialRpcTimeout(Duration.ofMillis(1L))

0 commit comments

Comments
 (0)