Skip to content

chore: update DirectPath tests#347

Merged
kolea2 merged 5 commits intogoogleapis:masterfrom
WeiranFang:directpath
Jul 6, 2020
Merged

chore: update DirectPath tests#347
kolea2 merged 5 commits intogoogleapis:masterfrom
WeiranFang:directpath

Conversation

@WeiranFang
Copy link
Copy Markdown
Contributor

  • Update DirectPath tests to use the new opt-in method instead of env var
  • Change fallback tests to blackhole all ipv4 and ipv6 DP addresses

Q: This change depends on v0.8.0 google-cloud-shared-dependencies, so do I need to wait for #338 to be merged?

…ar; Change fallback tests to blackhole all ipv4 and ipv6 DP addresses
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 16, 2020
Copy link
Copy Markdown
Contributor

@igorbernstein2 igorbernstein2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, but please address the comments

@codecov
Copy link
Copy Markdown

codecov bot commented Jun 16, 2020

Codecov Report

Merging #347 into master will increase coverage by 0.06%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #347      +/-   ##
============================================
+ Coverage     80.69%   80.75%   +0.06%     
- Complexity     1049     1050       +1     
============================================
  Files            99       99              
  Lines          6541     6536       -5     
  Branches        344      341       -3     
============================================
  Hits           5278     5278              
+ Misses         1082     1078       -4     
+ Partials        181      180       -1     
Impacted Files Coverage Δ Complexity Δ
...ble/data/v2/stub/EnhancedBigtableStubSettings.java 97.23% <100.00%> (+2.18%) 21.00 <1.00> (+1.00)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7b7b2f2...364118f. Read the comment docs.

@WeiranFang WeiranFang changed the title Update DirectPath tests chore: update DirectPath tests Jun 16, 2020
Copy link
Copy Markdown
Contributor

@igorbernstein2 igorbernstein2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@WeiranFang
Copy link
Copy Markdown
Contributor Author

WeiranFang commented Jun 23, 2020

Hi Igor and Stephanie,

I'm seeing failure in CI windows build:
[ERROR] ReadRowsRetryTest.fullTableScanTest � IllegalState call was cancelled

Any thoughts?

Edit: it seems passed, NVM :)

@WeiranFang
Copy link
Copy Markdown
Contributor Author

@igorbernstein2 : I have additionally updated the directpath test endpoint to be the JZ one: "testdirectpath-bigtable.sandbox.googleapis.com:443", as DirectPath ipv4 support will be initially enabled in JZ. PTAL, thanks!

Copy link
Copy Markdown
Contributor

@igorbernstein2 igorbernstein2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@igorbernstein2 igorbernstein2 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 29, 2020
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 29, 2020
@kolea2 kolea2 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 6, 2020
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 6, 2020
@kolea2 kolea2 added the automerge Merge the pull request once unit tests and other checks pass. label Jul 6, 2020
@kolea2 kolea2 merged commit b4edbd5 into googleapis:master Jul 6, 2020
@kolea2 kolea2 removed the automerge Merge the pull request once unit tests and other checks pass. label Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants