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

[ISSUE-244] Fix flaky test of CoordinatorGrpcTest.rpcMetricsTest #256

Merged
merged 1 commit into from
Oct 11, 2022

Conversation

zuston
Copy link
Member

@zuston zuston commented Oct 10, 2022

What changes were proposed in this pull request?

[ISSUE-244] Fix flaky test of CoordinatorGrpcTest.rpcMetricsTest

Why are the changes needed?

  1. The gauge metric of HEARTBEAT_METHOD is hard to meansure due to async sending at background. So remove it
  2. The gauge metric of GET_SHUFFLE_ASSIGNMENTS_METHOD may be not called descCounter when rpc finished, so remove it

Does this PR introduce any user-facing change?

No

How was this patch tested?

Dont need

@zuston
Copy link
Member Author

zuston commented Oct 10, 2022

PTAL @jerqi

@codecov-commenter
Copy link

codecov-commenter commented Oct 10, 2022

Codecov Report

Merging #256 (e22bbe6) into master (5875eb3) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #256   +/-   ##
=========================================
  Coverage     59.18%   59.18%           
- Complexity     1343     1344    +1     
=========================================
  Files           163      163           
  Lines          8837     8837           
  Branches        835      835           
=========================================
  Hits           5230     5230           
  Misses         3339     3339           
  Partials        268      268           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@jerqi jerqi left a comment

Choose a reason for hiding this comment

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

LGTM

@jerqi jerqi merged commit 4b31e3d into apache:master Oct 11, 2022
jerqi pushed a commit that referenced this pull request Oct 12, 2022
### What changes were proposed in this pull request?
[ISSUE-244] Fix flaky test of CoordinatorGrpcTest.rpcMetricsTest

### Why are the changes needed?
1. The gauge metric of `HEARTBEAT_METHOD` is hard to meansure due to async sending at background. So remove it
2. The gauge metric of `GET_SHUFFLE_ASSIGNMENTS_METHOD` may be not called `descCounter` when rpc finished, so remove it

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Dont need
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.

None yet

3 participants