Skip to content

Commit

Permalink
chore: generate libraries at Mon Jan 6 09:54:34 UTC 2025
Browse files Browse the repository at this point in the history
  • Loading branch information
cloud-java-bot committed Jan 6, 2025
1 parent f22b9e8 commit 40e0558
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-spanner</artifactId>
</dependency>
</dependencies>

```

If you are using Maven without the BOM, add this to your dependencies:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,12 @@ public Long apply(StructReader input) {
public boolean failOnInvalidatedSession;

@Rule
public TestRule watcher = new TestWatcher() {
protected void starting(Description description) {
System.out.println("Starting test: " + description.getMethodName());
}
};
public TestRule watcher =
new TestWatcher() {
protected void starting(Description description) {
System.out.println("Starting test: " + description.getMethodName());
}
};

@Parameters(name = "fail on invalidated session = {0}")
public static Collection<Object[]> data() {
Expand Down Expand Up @@ -222,8 +223,10 @@ public void setUp() throws InterruptedException {
!= failOnInvalidatedSession) {
System.out.println("Recreating spanner instance");
if (spanner != null) {
System.out.printf("Closing the spanner instance %s %s",
spanner.getOptions().getSessionPoolOptions().isFailIfSessionNotFound(), failOnInvalidatedSession);
System.out.printf(
"Closing the spanner instance %s %s",
spanner.getOptions().getSessionPoolOptions().isFailIfSessionNotFound(),
failOnInvalidatedSession);
spanner.close();
}
SessionPoolOptions.Builder builder = SessionPoolOptions.newBuilder().setFailOnSessionLeak();
Expand Down

0 comments on commit 40e0558

Please sign in to comment.