-
-
Notifications
You must be signed in to change notification settings - Fork 455
Speed up tests #4641
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
base: main
Are you sure you want to change the base?
Speed up tests #4641
Conversation
* Fix Spring 7 and Spring Boot 4 modules * Attempt to fix kotlin 2.2 issue * Second attempt to fix Kotlin 2.2 (#4610) * Second attempt to fix Kotlin 2.2 * Format code * Third attempt at fixing Kotlin 2.2 compat (#4613) --------- Co-authored-by: Sentry Github Bot <[email protected]> * Address compose-related issues * Fix tests for Spring 7 and Spring Boot 4 (#4614) * Second attempt to fix Kotlin 2.2 * Format code * Third attempt at fixing Kotlin 2.2 compat * Fix tests for Spring 7 and Spring Boot 4 * Move Spring 7 and Spring Boot 4 packages (#4615) * Move Spring 7 and Spring Boot 4 packages * Fix class not found due to OTel not supporting spring boot 4 yet (#4616) * Format code * some fixes * change kotlin 1.8 to 1.9 and some cleanup * ignore warnings about api level that is not relevant * fix optional dependencies in SentryAutoConfiguration * Update trace origin * Remove duplicate e2e test config * Update Strings for Spring 7 and Spring Boot 4 * Disable Spring Boot 4 agentless e2e tests for now --------- Co-authored-by: Sentry Github Bot <[email protected]> --------- Co-authored-by: Sentry Github Bot <[email protected]> Co-authored-by: markushi <[email protected]>
|
shutdown-timeout=0 | ||
session-flush-timeout=0 |
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.
should these be set in the properties files for jul
and logback
tests as well?
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.
For those it was already possible to manipulate options directly in the test which I prefer since it'll be obvious. Didn't wanna spend much time on adding options to the log4j2 test so I opted for this instead.
private @Nullable Long shutdownTimeout; | ||
private @Nullable Long sessionFlushTimeout; |
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.
m
should we name these with the Millis
suffix to match the naming in SentryOptions
?
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.
I copied what we did for shutdownTimeout
. Also open to adding the suffix.
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.
I would prefer if we add the suffix for consistency, even though it's not too important
Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
ee747ae | 358.21 ms | 389.41 ms | 31.20 ms |
ee747ae | 396.82 ms | 441.67 ms | 44.86 ms |
ee747ae | 405.43 ms | 485.70 ms | 80.28 ms |
ee747ae | 400.46 ms | 423.61 ms | 23.15 ms |
ee747ae | 357.79 ms | 421.84 ms | 64.05 ms |
ee747ae | 415.92 ms | 470.15 ms | 54.23 ms |
ee747ae | 374.71 ms | 455.18 ms | 80.47 ms |
ee747ae | 554.98 ms | 611.50 ms | 56.52 ms |
ee747ae | 386.94 ms | 431.43 ms | 44.49 ms |
674d437 | 355.28 ms | 504.18 ms | 148.90 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
ee747ae | 1.58 MiB | 2.10 MiB | 530.95 KiB |
ee747ae | 1.58 MiB | 2.10 MiB | 530.95 KiB |
ee747ae | 1.58 MiB | 2.10 MiB | 530.95 KiB |
ee747ae | 1.58 MiB | 2.10 MiB | 530.95 KiB |
ee747ae | 1.58 MiB | 2.10 MiB | 530.95 KiB |
ee747ae | 1.58 MiB | 2.10 MiB | 530.95 KiB |
ee747ae | 1.58 MiB | 2.10 MiB | 530.95 KiB |
ee747ae | 1.58 MiB | 2.10 MiB | 530.95 KiB |
ee747ae | 1.58 MiB | 2.10 MiB | 530.95 KiB |
674d437 | 1.58 MiB | 2.10 MiB | 530.94 KiB |
#skip-changelog
💡 Motivation and Context
Less waiting