You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
removed ui test EnvelopeTests.checkProfileNotSentIfEmpty. Added unit test with same goal: SentryEnvelopeItemTest.fromProfilingTrace with empty file throws
added description messages to eventually failing benchmark tests
added small sleeps in SentryWrapperTest to avoid race conditions
Copy file name to clipboardExpand all lines: sentry-android-integration-tests/sentry-uitest-android-benchmark/src/androidTest/java/io/sentry/uitest/android/benchmark/SdkBenchmarkTest.kt
+2-2
Original file line number
Diff line number
Diff line change
@@ -40,8 +40,8 @@ class SdkBenchmarkTest : BaseBenchmarkTest() {
40
40
val perfProfilingSdkResult = perfProfilingSdkResults.getSummaryResult()
assertTrue(simpleSdkResult.cpuTimeIncreaseNanos in0..TimeUnit.MILLISECONDS.toNanos(100), "Expected ${simpleSdkResult.cpuTimeIncreaseNanos} to be in range 0 < x < 100000000")
44
+
assertTrue(perfProfilingSdkResult.cpuTimeIncreaseNanos in0..TimeUnit.MILLISECONDS.toNanos(100), "Expected ${perfProfilingSdkResult.cpuTimeIncreaseNanos} to be in range 0 < x < 100000000")
Copy file name to clipboardExpand all lines: sentry-android-integration-tests/sentry-uitest-android-benchmark/src/androidTest/java/io/sentry/uitest/android/benchmark/SentryBenchmarkTest.kt
+2-2
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ class SentryBenchmarkTest : BaseBenchmarkTest() {
46
46
comparisonResult.printResults()
47
47
48
48
// Currently we just want to assert the cpu overhead
Copy file name to clipboardExpand all lines: sentry-android-integration-tests/sentry-uitest-android/src/androidTest/java/io/sentry/uitest/android/AutomaticSpansTest.kt
Copy file name to clipboardExpand all lines: sentry-android-integration-tests/sentry-uitest-android/src/androidTest/java/io/sentry/uitest/android/EnvelopeTests.kt
assertTrue(profilingTraceData.durationNs.toLong() <TimeUnit.SECONDS.toNanos(31), "Profile duration expected to be less than 31 seconds. It was ${profilingTraceData.durationNs.toLong()} ns")
0 commit comments