AzureAD / microsoft-identity-web

Helps creating protected web apps and web APIs with Microsoft identity platform and Azure AD B2C
MIT License
684 stars 217 forks source link

[IdWeb] Remove uses of Thread.Sleep in tests #3126

Open westin-m opened 3 weeks ago

westin-m commented 3 weeks ago

To speed up tests, avoid flakiness, and make them more deterministic, remove all uses of Thread.Sleep. Where applicable, replace them with better structures like signal and wait or TimeProviders.