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/workloadspread time ut 241008 #1783

Merged

Conversation

AiRanthem
Copy link
Member

Ⅰ. Describe what this PR does

Ⅱ. Does this pull request fix one issue?

NONE

Ⅲ. Describe how to verify it

add a sleep (e.g. time.Sleep(10*time.Seconds)) in Reconcile of WorkloadSpread

the UT TestDelayReconcile should pass

Ⅳ. Special notes for reviews

Copy link

codecov bot commented Oct 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.29%. Comparing base (0d0031a) to head (ba7da55).
Report is 101 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1783      +/-   ##
==========================================
+ Coverage   47.91%   49.29%   +1.38%     
==========================================
  Files         162      191      +29     
  Lines       23491    19616    -3875     
==========================================
- Hits        11256     9670    -1586     
+ Misses      11014     8687    -2327     
- Partials     1221     1259      +38     
Flag Coverage Δ
unittests 49.29% <ø> (+1.38%) ⬆️

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.

@AiRanthem AiRanthem force-pushed the fix/workloadspread-time-ut-241008 branch from b526868 to 8689eef Compare October 9, 2024 06:26
Signed-off-by: AiRanthem <zhongtianyun.zty@alibaba-inc.com>
@AiRanthem AiRanthem force-pushed the fix/workloadspread-time-ut-241008 branch from 8689eef to ba7da55 Compare October 9, 2024 06:51
Copy link
Member

@furykerry furykerry left a comment

Choose a reason for hiding this comment

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

/lgtm

Copy link
Member

@furykerry furykerry left a comment

Choose a reason for hiding this comment

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

/approve

@furykerry furykerry merged commit 7217ba0 into openkruise:master Oct 9, 2024
43 of 44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants