feat: use monotonic clock for PeriodicTimer and Stopwatch
#987
GitHub Actions / Test Results
failed
Apr 6, 2026 in 0s
1 fail, 12 610 skipped, 99 853 pass in 2h 30m 2s
Annotations
Check warning on line 0 in Testably.Abstractions.Tests.TimeSystem.StopwatchTests
github-actions / Test Results
1 out of 40 runs failed: Stop_ShouldSetIsRunningToFalse (Testably.Abstractions.Tests.TimeSystem.StopwatchTests)
artifacts/Windows-artifacts/TestResults/runneradmin_runnervmsit9q_2026-04-06_15_25_46.9547713.trx [took 0s]
Raw output
FailException: Expected that elapsed.TotalMilliseconds
is greater than or equal to 99.0,
but it was 98.9479 at aweXpect.Results.ExpectationResult`2.GetResultOrThrow()
at Testably.Abstractions.Tests.TimeSystem.StopwatchTests.Stop_ShouldSetIsRunningToFalse() in D:\a\Testably.Abstractions\Testably.Abstractions\Tests\Testably.Abstractions.Tests\TimeSystem\StopwatchTests.cs:line 141
Loading