open-feature / dotnet-sdk

.NET implementation of the OpenFeature SDK
https://openfeature.dev
Apache License 2.0
68 stars 19 forks source link

chore: remove test sleeps, fix flaky test #194

Closed toddbaert closed 9 months ago

toddbaert commented 9 months ago

This PR fixes a flaky events test and removes a bunch of sleeps with a new AssertUntilAsync util.

It brings the test suite time down to 5s from 15s on my machine.

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (a790f78) 93.86% compared to head (3a3ddee) 93.86%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #194 +/- ## ======================================= Coverage 93.86% 93.86% ======================================= Files 23 23 Lines 946 946 Branches 105 105 ======================================= Hits 888 888 Misses 34 34 Partials 24 24 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.