Skip to content

Conversation

@igorbernstein2
Copy link

//cc @WeiranFang

This test will simulate an IPv6 outage using a faulty Netty ChannelHandler. Unfortunately this requires a reflection hack to extract the underlying NettyChannelBuilder from the ComputeEngine, which makes this test dependent on the implementation of ForwardingChannelBuilder which is marked ExperimentalApi. This isn't great, but it's better than not testing this functionality or doing some kind of man in the middle proxy or trying to implement the grpclb and dns protocols in the test.

@igorbernstein2 igorbernstein2 added the api: bigtable Issues related to the Bigtable API. label Oct 8, 2019
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 8, 2019
@igorbernstein2 igorbernstein2 changed the title Add integration test for DirectPath fallback to and from CFE Bigtable: Add integration test for DirectPath fallback to and from CFE Oct 8, 2019
@codecov
Copy link

codecov bot commented Oct 8, 2019

Codecov Report

Merging #6460 into master will increase coverage by 0.35%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #6460      +/-   ##
============================================
+ Coverage     45.98%   46.34%   +0.35%     
- Complexity    26480    27989    +1509     
============================================
  Files          2613     2613              
  Lines        282539   288013    +5474     
  Branches      33559    33770     +211     
============================================
+ Hits         129926   133478    +3552     
- Misses       143357   144297     +940     
- Partials       9256    10238     +982
Impacted Files Coverage Δ Complexity Δ
...ud/devtools/containeranalysis/v1/GrafeasUtils.java 0% <0%> (-90.91%) 0% <0%> (-1%)
...curityscanner/v1beta/WebSecurityScannerClient.java 66.5% <0%> (-15.27%) 55% <0%> (+8%)
.../containeranalysis/v1/ContainerAnalysisClient.java 47.36% <0%> (-8.41%) 15% <0%> (+1%)
...va/com/google/cloud/compute/v1/InstanceClient.java 55.09% <0%> (-7.79%) 147% <0%> (+36%)
...onitoring/v3/NotificationChannelServiceClient.java 64.49% <0%> (-7.13%) 43% <0%> (+10%)
...ava/com/google/cloud/compute/v1/ProjectClient.java 57.07% <0%> (-6.99%) 55% <0%> (+13%)
.../com/google/cloud/compute/v1/TargetPoolClient.java 57.73% <0%> (-6.98%) 47% <0%> (+11%)
...va/com/google/cloud/compute/v1/SnapshotClient.java 55.73% <0%> (-6.88%) 31% <0%> (+7%)
...oogle/cloud/kms/v1/KeyManagementServiceClient.java 62.88% <0%> (-6.84%) 103% <0%> (+25%)
...com/google/cloud/compute/v1/ReservationClient.java 59.14% <0%> (-6.83%) 39% <0%> (+9%)
... and 653 more

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 5eac5ef...b27274c. Read the comment docs.

@igorbernstein2
Copy link
Author

A bit odd that coverage went down from adding a test 🤷‍♂️

Copy link
Author

@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.

All comments should be addressed, PTAL

@igorbernstein2
Copy link
Author

All comments should be addressed, PTAL

Copy link

@rahulKQL rahulKQL left a comment

Choose a reason for hiding this comment

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

Looks good to me

Copy link
Author

@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.

All comments should be addressed

@kolea2 kolea2 merged commit 97f0ce3 into googleapis:master Oct 15, 2019
@igorbernstein2 igorbernstein2 deleted the dp-cfe branch October 15, 2019 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigtable Issues related to the Bigtable API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants