Skip to content

Rewrite expired items tests to ensure expiration for Windows#178

Merged
davseby merged 3 commits intov3from
windows-clock-fix
Jun 5, 2025
Merged

Rewrite expired items tests to ensure expiration for Windows#178
davseby merged 3 commits intov3from
windows-clock-fix

Conversation

@davseby
Copy link
Copy Markdown
Contributor

@davseby davseby commented May 25, 2025

It seems like for Windows a nanosecond doesn't pass when tests are ran and the checks fail as expiration check isn't satisfied. Fixed this by setting the expiration time in the past via an additional function that can create expired items.

Closes #154

@davseby davseby requested a review from swithek May 25, 2025 12:45
@davseby davseby self-assigned this May 25, 2025
@coveralls
Copy link
Copy Markdown

coveralls commented May 25, 2025

Pull Request Test Coverage Report for Build 15471995016

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 99.733%

Totals Coverage Status
Change from base Build 15471455561: 0.0%
Covered Lines: 747
Relevant Lines: 749

💛 - Coveralls

@davseby davseby merged commit b6a9e74 into v3 Jun 5, 2025
2 checks passed
@davseby davseby deleted the windows-clock-fix branch June 5, 2025 16:13
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.

Tests fail in v3

3 participants