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

[internal/otelarrow] [chore] fix TestMRUReset flakiness #34260

Merged
merged 2 commits into from
Aug 1, 2024

Conversation

axw
Copy link
Contributor

@axw axw commented Jul 26, 2024

Description:

Ensure the monotonic clock has advanced prior to resetting, to ensure the item generation is before the reset.
The monotonic clock is guaranteed to be non-decreasing, but may be identical in consecutive measurements.

Link to tracking Issue:

#34252

Testing:

I couldn't reproduce the issue locally - this issue would depend on the system clock frequency.

Documentation:

N/A

Ensure the monotonic clock has advanced prior to
resetting, to ensure the item generation is before
the reset.
(Was planning to add a greater-than check on the
generations, but ended up deciding against it.)
@axw axw marked this pull request as ready for review July 26, 2024 02:17
@axw axw requested review from a team and bogdandrutu July 26, 2024 02:17
Copy link
Member

@mwear mwear left a comment

Choose a reason for hiding this comment

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

LGTM, do you mind taking a look @jmacd?

@dmitryax dmitryax merged commit 42f9faa into open-telemetry:main Aug 1, 2024
156 checks passed
@github-actions github-actions bot added this to the next release milestone Aug 1, 2024
@axw axw deleted the otelarrow-mru-test branch August 2, 2024 00:45
mx-psi pushed a commit that referenced this pull request Aug 6, 2024
**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
This reverts
#34362
as
#34260
was merged to resolve the test. The flakiness should be resolved so we
no longer need to skip this test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants