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

fix: certificateRefresher ticker.C timeout #1636

Merged
merged 1 commit into from
Jul 27, 2021

Conversation

petrkotas
Copy link
Member

Which issue this PR addresses:

None

What this PR does / why we need it:

Fixes flaky certRefresher error when running test in a CI.
Issue was hidden in the time.Ticker. When counting number of access to the keyvault, the event occured exactly on the edge of the timeout. Thus it once happened, next time it did not.

Fixed by moving the event closer to the middle of the interval.

Test plan for issue:

N/A

Is there any documentation that needs to be updated for this PR?

N/A

@25region
Copy link
Contributor

Test comment.

@troy0820 troy0820 added priority-medium Medium priority issue or pull request ready-for-review size-small Size small labels Jul 26, 2021
@mjudeikis
Copy link
Contributor

/azp run ci

@mjudeikis
Copy link
Contributor

/azp run e2e

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@m1kola m1kola left a comment

Choose a reason for hiding this comment

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

Every time I see time in tests someone says in my head "we are going to have issues with this at some point" :) But while reviewing the original PR I didn't manage to come up with an alternative way to test it.

@m1kola m1kola added LGTM Looks Good To Me next-up priority-high High priority issue or pull request and removed priority-medium Medium priority issue or pull request labels Jul 27, 2021
@mjudeikis mjudeikis merged commit b91992a into Azure:master Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LGTM Looks Good To Me next-up priority-high High priority issue or pull request ready-for-review size-small Size small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants