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

multus: improve the multus validation test's flakiness metric #13123

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

Sheetalpamecha
Copy link
Contributor

Allow the flakiness threshold window to be tuned from the cli

Description of your changes:

Which issue is resolved by this Pull Request:
Resolves #12176

Checklist:

  • Commit Message Formatting: Commit titles and messages follow guidelines in the developer guide.
  • Reviewed the developer guide on Submitting a Pull Request
  • Pending release notes updated with breaking and/or notable changes for the next minor release.
  • Documentation has been updated, if necessary.
  • Unit tests have been added, if necessary.
  • Integration tests have been added, if necessary.

Comment on lines 49 to 50
DefaultValidationFlakyThreshold = 20 * time.Second

Copy link
Member

Choose a reason for hiding this comment

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

Unless you can provide solid evidence that changing this value is for the better, let's default to 30 seconds since that is the current behavior.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay modified to 30 seconds. I just referenced it from https://github.com/rook/rook/blob/master/pkg/daemon/multus/validation.go#L325

var flakyThreshold = 20 * time.Second

pkg/daemon/multus/config.yaml Outdated Show resolved Hide resolved
cmd/rook/userfacing/multus/validation/validation.go Outdated Show resolved Hide resolved
pkg/daemon/multus/config.go Outdated Show resolved Hide resolved
@Sheetalpamecha Sheetalpamecha force-pushed the mmultus-validation-test branch 3 times, most recently from 657a0f3 to d3ae893 Compare October 31, 2023 09:40
Allow the flakiness threshold window to be tuned from the cli

Signed-off-by: Sheetal Pamecha <spamecha@redhat.com>
Copy link
Member

@BlaineEXE BlaineEXE left a comment

Choose a reason for hiding this comment

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

Looks good! Thanks for the detailed work, Sheetal!

@BlaineEXE BlaineEXE merged commit 35bd186 into rook:master Nov 1, 2023
48 of 52 checks passed
BlaineEXE added a commit that referenced this pull request Nov 1, 2023
multus: improve the multus validation test's flakiness metric (backport #13123)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve the multus validation test's flakiness metric
2 participants