Skip to content

Commit 22de193

Browse files
committed
chore(spanner): find java version running tests
1 parent 444d1e1 commit 22de193

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

google-cloud-spanner/src/test/java/com/google/cloud/spanner/SessionPoolOptionsTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,11 @@ public void testRandomizePositionQPSThreshold() {
284284
@Test
285285
public void testUseMultiplexedSession() {
286286
// skip these tests since this configuration can have dual behaviour in different test-runners
287+
System.out.println(SessionPoolOptions.newBuilder().build().getUseMultiplexedSession());
288+
System.out.println(SessionPoolOptions.newBuilder().build().getUseMultiplexedSessionForRW());
289+
System.out.println(System.getenv("GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS"));
290+
System.out.println(System.getenv("GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS_FOR_RW"));
291+
System.out.println("Running test on Java version: " + System.getProperty("java.version"));
287292
assumeFalse(SessionPoolOptions.newBuilder().build().getUseMultiplexedSession());
288293
assertEquals(false, SessionPoolOptions.newBuilder().build().getUseMultiplexedSession());
289294
assertEquals(
@@ -308,6 +313,7 @@ public void testUseMultiplexedSessionForRW() {
308313
System.out.println(SessionPoolOptions.newBuilder().build().getUseMultiplexedSessionForRW());
309314
System.out.println(System.getenv("GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS"));
310315
System.out.println(System.getenv("GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS_FOR_RW"));
316+
System.out.println("Running test on Java version: " + System.getProperty("java.version"));
311317
assumeFalse(SessionPoolOptions.newBuilder().build().getUseMultiplexedSession());
312318
assumeFalse(SessionPoolOptions.newBuilder().build().getUseMultiplexedSessionForRW());
313319

0 commit comments

Comments
 (0)