Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion sentry/src/test/java/io/sentry/SentryTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,9 @@ class SentryTest {
}

await.untilTrue(triggered)
assertFalse(previousSessionFile.exists())
// The PreviousSessionFinalizer runs as a separate task after the test's task in the
// single-threaded executor, so we need to wait for it to delete the file too.
await.until { !previousSessionFile.exists() }
}

@Test
Expand Down
Loading