-
-
Notifications
You must be signed in to change notification settings - Fork 342
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
test: Fix SentryStacktraceBuilderTests #1372
Conversation
testAsyncStacktraces should be testing if stack traces of different threads are stitched together, which it didn't do, because we were only building the stack trace on the main thread. This is fixed now by building the stack trace across different threads. Furthermore, the tests now use its own queue to avoid side effects when testing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Codecov Report
@@ Coverage Diff @@
## master #1372 +/- ##
==========================================
+ Coverage 95.45% 95.54% +0.09%
==========================================
Files 153 153
Lines 5500 5500
==========================================
+ Hits 5250 5255 +5
+ Misses 250 245 -5
Continue to review full report at Codecov.
|
📜 Description
testAsyncStacktraces should be testing if stack traces of different threads
are stitched together, which it didn't do, because we were only building
the stack trace on the main thread. This is fixed now by building the
stack trace across different threads. Furthermore, the tests now use
their own queue to avoid side effects when testing.
#skip-changelog
💡 Motivation and Context
Fixes failing tests in #1371