Skip to content

Conversation

@dennisdoomen
Copy link
Member

On AppVeyor builds, we have observed some flakiness where timing a simple Thread.Sleep(200) can result in up to 400 milliseconds of execution time. For those specific unit tests, we have decided to replace Stopwatch usage with a fake timer abstraction for those specific cases. For the other execution timing tests, I've decided to keep using the real Stopwatch.

Fixes #1085

On AppVeyor builds, we have observed some flakiness where timing a simple Thread.Sleep(200) can result in up to 400 milliseconds of execution time. For those specific unit tests, we have decided to replace  Stopwatch usage with a fake timer abstraction.
@dennisdoomen dennisdoomen requested review from jnyrup and removed request for jnyrup July 3, 2021 08:23
@dennisdoomen dennisdoomen merged commit f818ad6 into fluentassertions:release-6.0 Jul 3, 2021
@dennisdoomen dennisdoomen deleted the AnalyzeExecutionTiming branch July 3, 2021 10:13
@jnyrup
Copy link
Member

jnyrup commented Jul 4, 2021

Wohoo!

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.

Abstract time away from ExecutionTime

2 participants