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();