Skip to content

[persistence] improve time mock in tests#1786

Merged
cyrilou242 merged 4 commits intomasterfrom
te-xx-fix-mock-time
Feb 6, 2025
Merged

[persistence] improve time mock in tests#1786
cyrilou242 merged 4 commits intomasterfrom
te-xx-fix-mock-time

Conversation

@cyrilou242
Copy link
Contributor

@cyrilou242 cyrilou242 commented Feb 6, 2025

Improve time mock in tests:

  • nanoTime is mocked properly
  • when time is mocked and increased, the quartz scheduler threads are notified. This means we won't have to wait for the internal sleep time of the scheduler.
  • minor improvements to the tests

@vercel
Copy link

vercel bot commented Feb 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
thirdeye ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 6, 2025 9:51am

@cyrilou242 cyrilou242 changed the title te xx fix mock time [persistence] improve time mock in tests Feb 6, 2025
@cyrilou242 cyrilou242 merged commit 103edbf into master Feb 6, 2025
12 of 13 checks passed
@cyrilou242 cyrilou242 deleted the te-xx-fix-mock-time branch February 6, 2025 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant