File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed
google-cloud-spanner/src/test/java/com/google/cloud/spanner Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -85,12 +85,11 @@ public Long apply(StructReader input) {
8585 public boolean failOnInvalidatedSession ;
8686
8787 @ Rule
88- public TestRule watcher =
89- new TestWatcher () {
90- protected void starting (Description description ) {
91- System .out .println ("Starting test: " + description .getMethodName ());
92- }
93- };
88+ public TestRule watcher = new TestWatcher () {
89+ protected void starting (Description description ) {
90+ System .out .println ("Starting test: " + description .getMethodName ());
91+ }
92+ };
9493
9594 @ Parameters (name = "fail on invalidated session = {0}" )
9695 public static Collection <Object []> data () {
@@ -223,10 +222,8 @@ public void setUp() throws InterruptedException {
223222 != failOnInvalidatedSession ) {
224223 System .out .println ("Recreating spanner instance" );
225224 if (spanner != null ) {
226- System .out .printf (
227- "Closing the spanner instance %s %s" ,
228- spanner .getOptions ().getSessionPoolOptions ().isFailIfSessionNotFound (),
229- failOnInvalidatedSession );
225+ System .out .printf ("Closing the spanner instance %s %s" ,
226+ spanner .getOptions ().getSessionPoolOptions ().isFailIfSessionNotFound (), failOnInvalidatedSession );
230227 spanner .close ();
231228 }
232229 SessionPoolOptions .Builder builder = SessionPoolOptions .newBuilder ().setFailOnSessionLeak ();
You can’t perform that action at this time.
0 commit comments