We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18a4e5b commit f22b9e8Copy full SHA for f22b9e8
google-cloud-spanner/src/test/java/com/google/cloud/spanner/RetryOnInvalidatedSessionTest.java
@@ -220,7 +220,10 @@ public void setUp() throws InterruptedException {
220
if (spanner == null
221
|| spanner.getOptions().getSessionPoolOptions().isFailIfSessionNotFound()
222
!= failOnInvalidatedSession) {
223
+ System.out.println("Recreating spanner instance");
224
if (spanner != null) {
225
+ System.out.printf("Closing the spanner instance %s %s",
226
+ spanner.getOptions().getSessionPoolOptions().isFailIfSessionNotFound(), failOnInvalidatedSession);
227
spanner.close();
228
}
229
SessionPoolOptions.Builder builder = SessionPoolOptions.newBuilder().setFailOnSessionLeak();
0 commit comments