Skip to content

Conversation

SungJin1212
Copy link
Member

This PR fixes a flaky test TestBasicLifecycler_HeartbeatWhileStopping.
The reason is that since timestamps are Unix seconds, currTimestamp might not accurately reflect the time.
In other words, one second is insufficient to accurately reflect the heartbeat time to currTimestamp.

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@yeya24 yeya24 merged commit ee87d7e into cortexproject:master Jul 10, 2025
17 checks passed
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.

2 participants