-
Notifications
You must be signed in to change notification settings - Fork 39.7k
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
Automated cherry pick of #60794: Add retrying to audit logging e2e tests #61134
Automated cherry pick of #60794: Add retrying to audit logging e2e tests #61134
Conversation
Signed-off-by: Mik Vyatskov <vmik@google.com>
expectAuditLines(f, expectedEvents) | ||
// The default flush timeout is 30 seconds, therefore it should be enough to retry once | ||
// to find all expected events. However, we're waiting for 5 minutes to avoid flakes. | ||
pollingInterval := 30 * time.Second |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I probably commented on the master commit already: that's a pretty high interval. why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It matches the current flush delay for the audit backend
/approve |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: crassirostris, liggitt, sttts The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[MILESTONENOTIFIER] Milestone Pull Request: Up-to-date for process @crassirostris @jpbetz @liggitt @mbohlool @tallclair Pull Request Labels
|
@mbohlool Please take a look, it's necessary to stop test flaking |
@jpbetz is acting 1.9 branch manager this week |
Oh, thanks! |
@crassirostris test fix is approved. |
/retest |
2 similar comments
/retest |
/retest |
/retest Review the full test history for this PR. Silence the bot with an |
flaked on #61230 |
/retest |
adding retest-not-required per discussion in #sig-release - https://kubernetes.slack.com/archives/C2C40FMNF/p1521142075000034 |
Automatic merge from submit-queue. |
Cherry pick of #60794 on release-1.9.
Fixes #60719, since audit logging behavior has changed in 1.10. Purely e2e change, so no release note
#60794: Add retrying to audit logging e2e tests
/cc @sttts @liggitt