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

*: avoid flaky test with high load scenario #57016

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

hawkingrei
Copy link
Member

@hawkingrei hawkingrei commented Oct 31, 2024

What problem does this PR solve?

Issue Number: None

Problem Summary:

What changed and how does it work?

When TestMemoryControlWithUpdate runs in high load environment, it's not enough to wait 1 second, we set it to 5 seconds as a quick workaround.

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No need to test
    • I checked and no code files have been changed.

Side effects

  • NA

Documentation

  • NA

Release note

Please refer to Release Notes Language Style Guide to write a quality release note.

None

@ti-chi-bot ti-chi-bot bot added do-not-merge/needs-linked-issue do-not-merge/needs-tests-checked release-note-none Denotes a PR that doesn't merit a release note. sig/planner SIG: Planner size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed do-not-merge/needs-tests-checked labels Oct 31, 2024
@hawkingrei hawkingrei added skip-issue-check Indicates that a PR no need to check linked issue. do-not-merge/needs-tests-checked labels Oct 31, 2024
Copy link

codecov bot commented Oct 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.7329%. Comparing base (49c3eba) to head (6498f0d).
Report is 5 commits behind head on master.

Additional details and impacted files
@@                Coverage Diff                @@
##             master     #57016         +/-   ##
=================================================
- Coverage   73.2689%   56.7329%   -16.5360%     
=================================================
  Files          1650       1801        +151     
  Lines        455646     643388     +187742     
=================================================
+ Hits         333847     365013      +31166     
- Misses       101279     253541     +152262     
- Partials      20520      24834       +4314     
Flag Coverage Δ
integration 38.4466% <ø> (?)
unit 72.7233% <ø> (+0.1640%) ⬆️

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

Components Coverage Δ
dumpling 52.9478% <ø> (ø)
parser ∅ <ø> (∅)
br 52.6706% <ø> (+6.6700%) ⬆️

@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Oct 31, 2024
@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Oct 31, 2024
Copy link

ti-chi-bot bot commented Oct 31, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-10-31 05:42:06.559457117 +0000 UTC m=+501239.398612662: ☑️ agreed by YangKeao.
  • 2024-10-31 06:19:48.412262522 +0000 UTC m=+503501.251418068: ☑️ agreed by Defined2014.

Copy link

ti-chi-bot bot commented Oct 31, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: AilinKid, Defined2014, YangKeao

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added the approved label Oct 31, 2024
@ti-chi-bot ti-chi-bot bot merged commit c240fdf into pingcap:master Oct 31, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm release-note-none Denotes a PR that doesn't merit a release note. sig/planner SIG: Planner size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. skip-issue-check Indicates that a PR no need to check linked issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants