-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Bigtable: Add ability to run tests against direct path #5756
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
Conversation
* Reorganize failsafe config to have a separate execution for each test integration test target * Move each test integration target into it's own profile (keeping the emulator tests on by default) * Fork the ProdEnv for direct path environment
|
This is currently broken because of The bigtable gapic yaml needs to be updated with correct rpc timeouts. I have a CL out that fixes all of the RPC timeouts, but can't be merged until googleapis/gapic-generator#2878 is merged |
Codecov Report
@@ Coverage Diff @@
## master #5756 +/- ##
============================================
+ Coverage 47.17% 47.17% +<.01%
Complexity 25130 25130
============================================
Files 2389 2389
Lines 259836 259836
Branches 29417 29417
============================================
+ Hits 122585 122586 +1
+ Misses 128321 128320 -1
Partials 8930 8930
Continue to review full report at Codecov.
|
...gle-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/env/DirectPathEnv.java
Show resolved
Hide resolved
...gle-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/env/DirectPathEnv.java
Outdated
Show resolved
Hide resolved
...bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/it/BigtableTableAdminClientIT.java
Show resolved
Hide resolved
|
Looks like emulator tests are failing because cbt emulator doesn't exist in kokoro. |
This was a bug introduced in googleapis#5756. When integration profiles were introduced, I forgot to remove the test from the default execution of the failsafe plugin. The new way integration tests are run are via profile activation: by default the bigtable-emulator-it profile is active.
NOTE: please review #5762 first. This PR includes changes from there
Please note that the directpath tests are not enabled in kokoro yet