Unverified Commit 2e7cb58f authored by Igor Demin's avatar Igor Demin Committed by GitHub

Enable UI tests by default (#472)

* Enabel UI tests by default

* Disable UI tests on macOs

* Fix test timeout

* XX:MaxMetaspaceSize=512m

Because of "expiring daemon due to jvm metaspace space being exhausted" on CI

* XX:MaxMetaspaceSize=512m

Because of "expiring daemon due to jvm metaspace space being exhausted" on CI
parent 8e84e9e0
......@@ -1080,7 +1080,8 @@ tasks.withType<Test>().configureEach {
systemProperty("skiko.test.screenshots.dir", File(project.projectDir, "src/jvmTest/screenshots").absolutePath)
systemProperty("skiko.test.font.dir", File(project.projectDir, "src/commonTest/resources/fonts").absolutePath)
systemProperty("skiko.test.ui.enabled", System.getProperty("skiko.test.ui.enabled", "false"))
val canRunUiTests = System.getProperty("os.name") != "Mac OS X"
systemProperty("skiko.test.ui.enabled", System.getProperty("skiko.test.ui.enabled", canRunUiTests.toString()))
systemProperty("skiko.test.ui.renderApi", System.getProperty("skiko.test.ui.renderApi", "all"))
// Tests should be deterministic, so disable scaling.
......
......@@ -14,4 +14,4 @@ dependencies.skia.ios-arm64=m99-51988d0bc1
dependencies.skia.android-x64=m99-51988d0bc1
dependencies.skia.android-arm64=m99-51988d0bc1
org.gradle.jvmargs=-Xmx3G
org.gradle.jvmargs=-Xmx3G -XX:MaxMetaspaceSize=512m
......@@ -117,7 +117,7 @@ internal class TaskTest {
}
}
@Test(timeout = 5000)
@Test(timeout = 10000)
fun `simulate MacOs layer with another renderings`() {
runBlocking {
val job = Job()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment