Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

tests/framework: optionally retry on pod creation failure #4091

Merged
merged 1 commit into from
Sep 9, 2021

Conversation

shashankram
Copy link
Member

@shashankram shashankram commented Sep 9, 2021

Description:
Optionally retries on app pod creation failure when the
webhook configuration is not processed by the API server
on time. This is required as a workaround due to potential
delays in the k8s API server to process the updated webhook
configuration after osm-injector patches the webhook.

If this change does not address #3973, it should be reverted.
A large number of test iterations is required to verify this
change in the CI.

Potential fix for #3973.

Affected area:

Functional Area
CI System [X]
Tests [X]

Please answer the following questions with yes/no.

  1. Does this change contain code from or inspired by another project? no

    • Did you notify the maintainers and provide attribution?
  2. Is this a breaking change? no

Optionally retries on app pod creation failure when the
webhook configuration is not processed by the API server
on time.

Potential fix for openservicemesh#3973

Signed-off-by: Shashank Ram <[email protected]>
@shashankram shashankram added the wip Work-in-Progress label Sep 9, 2021
@codecov-commenter
Copy link

Codecov Report

Merging #4091 (5edd0b5) into main (5c491ac) will decrease coverage by 0.04%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4091      +/-   ##
==========================================
- Coverage   69.13%   69.09%   -0.05%     
==========================================
  Files         205      205              
  Lines       11228    11228              
==========================================
- Hits         7763     7758       -5     
- Misses       3413     3418       +5     
  Partials       52       52              
Flag Coverage Δ
unittests 69.09% <ø> (-0.05%) ⬇️

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

Impacted Files Coverage Δ
pkg/crdconversion/crdconversion.go 69.56% <0.00%> (-5.44%) ⬇️

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 5c491ac...5edd0b5. Read the comment docs.

@shashankram shashankram removed the wip Work-in-Progress label Sep 9, 2021
@shashankram shashankram marked this pull request as ready for review September 9, 2021 20:51
@shashankram shashankram requested a review from a team as a code owner September 9, 2021 20:51
@shashankram shashankram merged commit 7c865cb into openservicemesh:main Sep 9, 2021
@shashankram shashankram deleted the fix-3973 branch March 8, 2022 18:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants