Skip to content

Commit

Permalink
skip flaky test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
eymar committed Sep 25, 2024
1 parent f9acb1c commit 0ec82f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions skiko/src/awtTest/kotlin/org/jetbrains/skiko/SkiaLayerTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -741,6 +741,8 @@ class SkiaLayerTest {
// SOFTWARE_COMPAT fails because it's just too slow
excludeRenderApis = listOf(GraphicsApi.SOFTWARE_COMPAT)
) {
assumeTrue(hostOs == OS.MacOS) // since the test has 'metal' in its name (it is flaky on Windows)

val renderTimes = mutableListOf<Long>()
val renderer = object: SkikoRenderDelegate {
override fun onRender(canvas: Canvas, width: Int, height: Int, nanoTime: Long) {
Expand Down

0 comments on commit 0ec82f1

Please sign in to comment.