You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "jackdingilian (via GitHub)" <gi...@apache.org> on 2023/09/15 15:53:20 UTC
[GitHub] [beam] jackdingilian commented on a diff in pull request #28374: Add mechanism to override bigtable client for testing
jackdingilian commented on code in PR #28374:
URL: https://github.com/apache/beam/pull/28374#discussion_r1327496574
##########
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigtable/BigtableConfig.java:
##########
@@ -156,6 +162,12 @@ public BigtableConfig withEmulator(String emulatorHost) {
return toBuilder().setEmulatorHost(emulatorHost).build();
}
+ @VisibleForTesting
+ BigtableConfig withBigtableClientOverride(BigtableClientOverride clientOverride) {
+ checkArgument(clientOverride != null, "clientOverride can not be null");
Review Comment:
good point, I guess this check isn't really necessary. I'll remove it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org