Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests | Fix random test failures #931

Merged
merged 9 commits into from
Feb 26, 2021

Conversation

cheenamalhotra
Copy link
Member

@cheenamalhotra cheenamalhotra commented Feb 25, 2021

NotADatabase exception mismatch errors:

  • Compare error contents not object references

Transaction Deadlocked errors:

  • Rerun transaction as per recommended action.

KeyStoreProvider error mismatch:

  • Cleanup registered providers and run test cleanly.
  • Check for Contains instead of Equals for error messages.

Host name not found in "CreateCertificate()"

  • Reduced calls to CreateCertificate in same test class by making certificate static as it's not expected to change.

ConnectionSpeed Test improvements

  • Compare divided value as double
  • Disabled temporarily as it fails more often and not reproducible locally.

Compare error contents not object references
@cheenamalhotra cheenamalhotra added the Area\Tests Issues that are targeted to tests or test projects label Feb 25, 2021
@cheenamalhotra cheenamalhotra added this to the 3.0.0-preview1 milestone Feb 25, 2021
@cheenamalhotra cheenamalhotra changed the title Tests | Fix NotADatabase test random failures Tests | Fix random test failures Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area\Tests Issues that are targeted to tests or test projects
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants