Skip to content

[8.2] Fix TranslogTests#testStats (#85828)#85857

Merged
elasticsearchmachine merged 1 commit intoelastic:8.2from
DaveCTurner:backport/8.2/pr-85828
Apr 13, 2022
Merged

[8.2] Fix TranslogTests#testStats (#85828)#85857
elasticsearchmachine merged 1 commit intoelastic:8.2from
DaveCTurner:backport/8.2/pr-85828

Conversation

@DaveCTurner
Copy link
Copy Markdown
Member

Backports the following commits to 8.2:

Today these tests assume that the last-modified time on the translog
file is at least one millisecond before the time at which stats are
computed, but this isn't always true. With this commit we add a
(bounded) wait for the clock to advance beyond the file's last-modified
time to ensure that we observe a nonzero age.

Closes elastic#85717
@DaveCTurner DaveCTurner added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport labels Apr 13, 2022
@elasticsearchmachine elasticsearchmachine merged commit 4af5a2f into elastic:8.2 Apr 13, 2022
@DaveCTurner DaveCTurner deleted the backport/8.2/pr-85828 branch April 13, 2022 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v8.2.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants