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

Update retry policy for GCP acc tests #1345

Merged
merged 3 commits into from
Feb 11, 2022

Conversation

sundowndev
Copy link
Contributor

@sundowndev sundowndev commented Feb 11, 2022

Description

Those particular tests seems to have more regression than others. This PR increases the retry duration from 10 to 15 minutes so it will retry one more time after sleeping for 8 min.

Retry count 	0  1  2  3   4 
Sleep 	 	0  2  4  6   8
Retry duration	0  2  6  12  20  # Stopping here since 20>15

Also added a field retry_duration to debug logs so we can figure out the elapsed time for this test to pass/fail in the future.

References

Increase the retry duration limit from 10 to 15 minutes.
@sundowndev sundowndev added the kind/maintenance Refactoring or changes to the workspace label Feb 11, 2022
@sundowndev sundowndev requested a review from a team as a code owner February 11, 2022 06:49
@sundowndev sundowndev requested review from almog27, eliecharra and craigfurman and removed request for a team and almog27 February 11, 2022 06:49
Increase the retry duration limit from 10 to 15 minutes.
@sundowndev sundowndev force-pushed the fix/acc_google_bigquery_table_test branch from c35151e to 4a15b76 Compare February 11, 2022 07:11
@sundowndev sundowndev changed the title Update retry policy for google_bigquery_table acc test Update retry policy for GCP acc tests Feb 11, 2022
@codecov-commenter
Copy link

Codecov Report

Merging #1345 (4a15b76) into main (506439d) will increase coverage by 8.85%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1345      +/-   ##
==========================================
+ Coverage   73.17%   82.02%   +8.85%     
==========================================
  Files         482      410      -72     
  Lines       18092    14948    -3144     
==========================================
- Hits        13238    12261     -977     
+ Misses       4535     2387    -2148     
+ Partials      319      300      -19     
Impacted Files Coverage Δ
pkg/terraform/plugin_client.go 0.00% <0.00%> (-100.00%) ⬇️
pkg/remote/aws/client/s3_client_factory.go 0.00% <0.00%> (-100.00%) ⬇️
pkg/remote/aws/init.go 0.00% <0.00%> (-95.74%) ⬇️
pkg/remote/azurerm/init.go 0.00% <0.00%> (-84.22%) ⬇️
pkg/remote/google/init.go 0.00% <0.00%> (-77.78%) ⬇️
pkg/remote/google/repository/storage.go 0.00% <0.00%> (-76.93%) ⬇️
...g/remote/google/repository/cloudresourcemanager.go 0.00% <0.00%> (-76.93%) ⬇️
pkg/remote/github/init.go 0.00% <0.00%> (-76.32%) ⬇️
pkg/remote/terraform/provider.go 6.08% <0.00%> (-68.25%) ⬇️
pkg/terraform/provider_factory.go 0.00% <0.00%> (-62.50%) ⬇️
... and 130 more

@sundowndev sundowndev merged commit d256d98 into main Feb 11, 2022
@sundowndev sundowndev deleted the fix/acc_google_bigquery_table_test branch February 11, 2022 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/maintenance Refactoring or changes to the workspace
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants