Skip to content
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

adding unit test for batch request failure #851

Merged
merged 2 commits into from
Aug 16, 2022
Merged

Conversation

singhravidutt
Copy link
Contributor

Added a test case to verify that a failure of individual request of BatchRequest also gets retried.

@singhravidutt
Copy link
Contributor Author

/gcbrun

@codecov
Copy link

codecov bot commented Aug 11, 2022

Codecov Report

Merging #851 (6ea80d7) into master (8669e68) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #851      +/-   ##
============================================
- Coverage     80.53%   80.50%   -0.04%     
+ Complexity     2000     1999       -1     
============================================
  Files           136      136              
  Lines          8967     8972       +5     
  Branches       1031     1031              
============================================
+ Hits           7222     7223       +1     
- Misses         1329     1334       +5     
+ Partials        416      415       -1     
Flag Coverage Δ
integrationtest 62.63% <0.00%> (-0.13%) ⬇️
unittest 74.71% <100.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...d/hadoop/util/testing/MockHttpTransportHelper.java 96.87% <100.00%> (+0.17%) ⬆️
...n/java/com/google/cloud/hadoop/gcsio/Watchdog.java 89.07% <0.00%> (-2.53%) ⬇️
...ud/hadoop/util/ChainingHttpRequestInitializer.java 90.19% <0.00%> (-1.97%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@singhravidutt singhravidutt marked this pull request as ready for review August 11, 2022 21:59
@singhravidutt
Copy link
Contributor Author

/gcbrun

@singhravidutt singhravidutt merged commit 782b3e9 into master Aug 16, 2022
@medb medb deleted the batchRequest_test branch August 16, 2022 17:16
singhravidutt added a commit that referenced this pull request Aug 18, 2022
singhravidutt added a commit that referenced this pull request Aug 18, 2022
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants