Skip to content

Remove mixer/clock due to bug#1926

Merged
RebeccaMahany merged 3 commits intokolide:mainfrom
RebeccaMahany:becca/remove-mixer/clock
Oct 30, 2024
Merged

Remove mixer/clock due to bug#1926
RebeccaMahany merged 3 commits intokolide:mainfrom
RebeccaMahany:becca/remove-mixer/clock

Conversation

@RebeccaMahany
Copy link
Contributor

While working on moving the osquery extension into the osquery instance, I ran into a painful test error that ended up being caused by the issue described here. Per this PR, this is an issue with mixer/clock when we use the DefaultClock and call Stop on the resulting ticker.

We only use the mock clock functionality in one test, and it didn't feel like it was worth preserving, so I've removed it and replaced with our standard time.Ticker instead. If we find the tests are too flaky this way, I will improve them.

@RebeccaMahany RebeccaMahany added the bug-fixes Bug Fixes label Oct 30, 2024
@RebeccaMahany RebeccaMahany marked this pull request as ready for review October 30, 2024 17:39
@RebeccaMahany RebeccaMahany added this pull request to the merge queue Oct 30, 2024
Merged via the queue into kolide:main with commit 9ae6142 Oct 30, 2024
@RebeccaMahany RebeccaMahany deleted the becca/remove-mixer/clock branch October 30, 2024 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fixes Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants