Skip to content

Commit

Permalink
MAPSAND-366 Added 10 second timeout for onSurfaceWithActivityDestroye…
Browse files Browse the repository at this point in the history
…dBeforeSurfaceWithDestroyTaskInQueueTest
  • Loading branch information
paulrenn67 committed Aug 10, 2022
1 parent 115b8f2 commit 218670c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ class MapboxRenderThreadTest {
}
}

@Test
@Test(timeout=10000) // Added timeout to ensure that if test fails, test does not hang forever.
fun onSurfaceWithActivityDestroyedBeforeSurfaceWithDestroyTaskInQueueTest() {
initRenderThread()
provideValidSurface()
Expand Down

0 comments on commit 218670c

Please sign in to comment.