Skip to content

Conversation

msohailhussain
Copy link
Contributor

Summary

  • Called Dispose method on every HttpConfigManager instance after test, Problem was Continuous polling of older instances were called for new mocked instance which is why test cases were being failed.
  • Added maximum wait time to avoid deadlock or stale situation, OnReady wait until gets resolved, if no valid Config is provided, it remains unresolved which causes deadlock.

Test plan

  • All unit test must pass.

Copy link
Contributor

@mikeproeng37 mikeproeng37 left a comment

Choose a reason for hiding this comment

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

lgtm

@mikeproeng37 mikeproeng37 merged commit c49e858 into master Jul 7, 2020
@mikeproeng37 mikeproeng37 deleted the sohail/fixflakyunittests branch July 7, 2020 22:01
jaeopt pushed a commit that referenced this pull request Jul 7, 2020
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.

2 participants