Skip to content

Commit 24b84d1

Browse files
committed
test: add internal testing flag back
1 parent a5e26e8 commit 24b84d1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • java-bigtable/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/api

java-bigtable/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/api/Client.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ public class Client implements AutoCloseable {
7979
// .setDirectAccessRequested(true)
8080
.setPeerInfo(true)
8181
.setSessionsCompatible(true)
82+
.setSessionsRequired( // Internal system property internal testing, not to be used by
83+
// external customers.
84+
Boolean.getBoolean("bigtable.internal.sessions-required"))
8285
.build();
8386
// gRPC keep-alive interval 60 seconds.
8487
public static final int KEEPALIVE_TIME_MS = 60000;

0 commit comments

Comments
 (0)