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

pkg/search/controllers_test: fix flaky test cases #5833

Conversation

mohamedawnallah
Copy link
Contributor

Description

In this commit, we fix flaky test cases mainly by increasing the timeout from 250 milliseconds to 500 milliseconds.

What type of PR is this?

/kind failing-test

Which issue(s) this PR fixes:
Fixes #5810 (comment)

Does this PR introduce a user-facing change?:

NONE

@karmada-bot karmada-bot added the kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. label Nov 18, 2024
@karmada-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign xishanyongye-chang for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@karmada-bot karmada-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Nov 18, 2024
@mohamedawnallah
Copy link
Contributor Author

cc @chaosi-zju @XiShanYongYe-Chang

@codecov-commenter
Copy link

codecov-commenter commented Nov 18, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 46.34%. Comparing base (87cfdfc) to head (dada7d2).
Report is 6 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5833      +/-   ##
==========================================
+ Coverage   46.30%   46.34%   +0.04%     
==========================================
  Files         661      661              
  Lines       54308    54306       -2     
==========================================
+ Hits        25147    25169      +22     
+ Misses      27536    27515      -21     
+ Partials     1625     1622       -3     
Flag Coverage Δ
unittests 46.34% <100.00%> (+0.04%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@RainbowMango
Copy link
Member

The #5834 will fix the failing tests. Please rebase this PR after #5834.
Sorry for the inconvenience.

@zhzhuang-zju
Copy link
Contributor

/retest

@mohamedawnallah
Copy link
Contributor Author

cc @zhzhuang-zju All test cases passed now :)

In this commit, we fix flaky test cases mainly by increasing
the timeout from 250 milliseconds to 500 milliseconds.

Signed-off-by: Mohamed Awnallah <[email protected]>
@mohamedawnallah mohamedawnallah force-pushed the fixKarmadaSearchControllerFlakyTestCases branch from 1345ad6 to dada7d2 Compare November 21, 2024 19:28
@mohamedawnallah
Copy link
Contributor Author

Replaced by #5856

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants