Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Fix non-deterministic failure in ColorTests #21005

Merged
merged 1 commit into from
Jun 13, 2017

Conversation

stephentoub
Copy link
Member

If GetProperties returns items in different orders on multiple calls, it's possible for at least one of the tests to fail. Just cache the results.

Fixes https://github.com/dotnet/corefx/issues/20803
cc: @danmosemsft, @mellinoe

If GetProperties returns items in different orders on multiple calls, it's possible for at least one of the tests to fail.  Just cache the results.
Copy link
Member

@danmoseley danmoseley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @stephentoub

@stephentoub stephentoub merged commit 3875f5c into dotnet:master Jun 13, 2017
@stephentoub stephentoub deleted the fix_colortests branch June 13, 2017 21:06
@karelz karelz modified the milestone: 2.1.0 Jun 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants