-
Notifications
You must be signed in to change notification settings - Fork 135
feat: Allow JDBC to configure directpath for connection #3929
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -100,7 +100,7 @@ public class ITDirectPathFallback { | |
|
|
||
| // TODO(mohanli): Remove this temporary endpoint once DirectPath goes to public beta. | ||
| private static final String DIRECT_PATH_ENDPOINT = "aa423245250f2bbf.sandbox.googleapis.com:443"; | ||
| private static final String ATTEMPT_DIRECT_PATH = "spanner.attempt_directpath"; | ||
| private static final String ENABLE_DIRECT_ACCESS = "spanner.enable_direct_access"; | ||
|
|
||
| public ITDirectPathFallback() { | ||
| // Create a transport channel provider that can intercept ipv6 packets. | ||
|
|
@@ -112,7 +112,7 @@ public ITDirectPathFallback() { | |
| public void setup() { | ||
| assume() | ||
| .withMessage("DirectPath integration tests can only run against DirectPathEnv") | ||
| .that(Boolean.getBoolean(ATTEMPT_DIRECT_PATH)) | ||
| .that(Boolean.getBoolean(ENABLE_DIRECT_ACCESS)) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe for a follow-up PR; I think that this will always return false, as we are parsing the string There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes. We should do |
||
| .isTrue(); | ||
| // Get default spanner options for Ingetration test | ||
| SpannerOptions.Builder builder = env.getTestHelper().getOptions().toBuilder(); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.