Skip to content

Commit 31b21b5

Browse files
committed
Flush and close executor
1 parent 4a585ad commit 31b21b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sentry-async-profiler/src/test/java/io/sentry/asyncprofiler/profiling/JavaContinuousProfilerTest.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ class JavaContinuousProfilerTest {
9696
fixture.options.cacheDirPath?.let { File(it).deleteRecursively() }
9797

9898
Sentry.stopProfiler()
99+
fixture.executor.runAll()
100+
Sentry.flush(1000)
99101
Sentry.close()
100102
fixture.mockedSentry.close()
101103
}

0 commit comments

Comments
 (0)