Skip to content

Comments

HDDS-11005. TestEndPoint#testRegisterRpcTimeout fails when run in itself#6806

Merged
tanvipenumudy merged 3 commits intoapache:masterfrom
Tejaskriya:HDDS-11005
Jun 13, 2024
Merged

HDDS-11005. TestEndPoint#testRegisterRpcTimeout fails when run in itself#6806
tanvipenumudy merged 3 commits intoapache:masterfrom
Tejaskriya:HDDS-11005

Conversation

@Tejaskriya
Copy link
Contributor

@Tejaskriya Tejaskriya commented Jun 12, 2024

What changes were proposed in this pull request?

After running the testRegisterRpcTimeout through the flaky workflow: https://github.com/Tejaskriya/ozone/actions/runs/9476838761 , the test seems to fail each time.
Even when the single test case is run multiple times locally, failures are observed on the first run, and the remaining runs are successful.
By seeing the logs, It seems like the steps after timeout interruption takes place could take 700-800ms when the test is run individually.
In this PR, the test is refactored to measure only the required latency of endpointTask.call(), and not the remaining steps.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-11005

How was this patch tested?

Tested flaky workflow: https://github.com/Tejaskriya/ozone/actions/runs/9494208563

@tanvipenumudy tanvipenumudy self-requested a review June 12, 2024 09:41
@Tejaskriya Tejaskriya marked this pull request as ready for review June 12, 2024 09:46
Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

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

Thanks @Tejaskriya for finding this issue and working on it.

Copy link
Contributor

@tanvipenumudy tanvipenumudy left a comment

Choose a reason for hiding this comment

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

Thank you @Tejaskriya for updating the patch, LGTM!

Thank you @adoroszlai for the review!

@tanvipenumudy tanvipenumudy merged commit 15f966e into apache:master Jun 13, 2024
jojochuang pushed a commit to jojochuang/ozone that referenced this pull request Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants