optimizely / csharp-sdk

.NET based C# SDK for Optimizely Feature Experimentation and Optimizely Full Stack (legacy)
https://docs.developers.optimizely.com/experimentation/v4.0.0-full-stack/docs/csharp-sdk
Apache License 2.0
19 stars 20 forks source link

fix: http project config manager unit tests revised. #223

Closed msohailhussain closed 4 years ago

msohailhussain commented 4 years ago

Summary

Unit tests were using real datafiles which may cause failure due to network issues. I have mocked all SendAsync to provide hardcoded datafiles when called from HttpClient.

Test plan

Unit test must pass.

msohailhussain commented 4 years ago

Added more proper comments and reason for wait usage.