From 27f72a36156e9b36390680249391b4e6d6b9d1bd Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Mon, 6 Jan 2025 10:14:02 +0000 Subject: [PATCH] chore: generate libraries at Mon Jan 6 10:11:56 UTC 2025 --- .../spanner/RetryOnInvalidatedSessionTest.java | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/google-cloud-spanner/src/test/java/com/google/cloud/spanner/RetryOnInvalidatedSessionTest.java b/google-cloud-spanner/src/test/java/com/google/cloud/spanner/RetryOnInvalidatedSessionTest.java index 0292abbce2..8e628b43d4 100644 --- a/google-cloud-spanner/src/test/java/com/google/cloud/spanner/RetryOnInvalidatedSessionTest.java +++ b/google-cloud-spanner/src/test/java/com/google/cloud/spanner/RetryOnInvalidatedSessionTest.java @@ -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 data() { @@ -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();