| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
|
||
| private ManagedChannel createChannel(int port) { | ||
| return ManagedChannelBuilder.forAddress("localhost", port) | ||
| .usePlaintext(true) |
|
The code LGTM. We should create a CircleCI task for this though. @igorbernstein2 Do you know what to do? @garrettjonesgoogle I think making CI run against prod for integration is OK? |
Sorry, something went wrong.
| void start() throws Exception { | ||
| int availablePort = getAvailablePort(); | ||
|
|
||
| process = Runtime.getRuntime().exec(executable + " -port " + "" + availablePort); |
|
I updated this PR to include CircleCi configs. PTAL, if it looks ok, please merge |
Sorry, something went wrong.
|
|
||
| To use the `prod` environment: | ||
| 1. Create a table with a column family named `cf`. | ||
| 1. Setup the target table using `google-cloud-bigtable/scripts/setup-test-table.sh` |
| @@ -0,0 +1,21 @@ | |||
| #!/usr/bin/env bash | |||
|
|
|||
| # Setup a table to use for integration tests. | |||
| public void run() { | ||
| try { | ||
| String line; | ||
| while ((line = reader.readLine()) != null) LOGGER.log(level, line); |
| throw new RuntimeException( | ||
| "Unknown env: " | ||
| + env | ||
| + ". Please set the system propert " |
| testEnv = ProdEnv.fromSystemProperties(); | ||
| break; | ||
| default: | ||
| throw new RuntimeException( |
|
Rebased & addressed all feedback. If it looks ok, please merge |
Sorry, something went wrong.
|
Thanks! |
Sorry, something went wrong.
… to v2.29.1 (#2997) * chore(deps): update dependency com.google.cloud:google-cloud-bigtable to v2.29.1 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
* chore(main): release 2.51.0 * chore: generate libraries at Wed Apr 23 17:39:10 UTC 2025 * chore: cleanup changelog.md --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: cloud-java-bot <cloud-java-bot@google.com> Co-authored-by: BenWhitehead <BenWhitehead@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
This is ready for review.
MVP of integration tests for Bigtable. All data rpcs are covered. The tests can be run against an emulator or a production instance of bigtable. For the time being, the emulator controller is implemented as a process wrapper around the cbtemulator binary that is managed by gcloud. The gcloud emulator command is bypassed because it executes the emulator as a child process, preventing java from killing it. The eventual goal is to publish the binaries wrapped in a jar and bypass gcloud altogether. The Emulator wrapper class is intentionally kept private in the tests directory to postpone committing to a public api.
I setup the CircleCi configs and created the target table in the test project. Also, I updated the ITs to run in parallel and updated the verify_single_it.sh scripts to take additional args