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