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

ci: improve instrumented test consistency #117

Merged
merged 2 commits into from
Mar 21, 2022

Conversation

willpassidomo
Copy link
Contributor

Summary

testModifyMessage() is one of our flakier tests and I found this is in part due to some asynchronous writed to SharedPreferences. In this test, we are making multiple updates to the same mpid/user, which is not required for the test case. This update simply changes the user each iteration so we do not need to account for the async updates

Testing Plan

existing tests pass

Master Issue

@willpassidomo willpassidomo changed the base branch from main to development March 21, 2022 18:33
@willpassidomo willpassidomo changed the title Ci/sqdsdks 3571 fix flakiness ci: improve instrumented test consistency Mar 21, 2022
@sonarcloud
Copy link

sonarcloud bot commented Mar 21, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@willpassidomo willpassidomo merged commit 3a70121 into development Mar 21, 2022
@willpassidomo willpassidomo deleted the ci/SQDSDKS-3571-fix-flakiness branch March 21, 2022 18:47
@mparticle-automation
Copy link
Collaborator

🎉 This PR is included in version 5.37.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants