Skip to content

Commit aeb7c4b

Browse files
committed
test(mps-model-adapters): disable hanging tests
We only maintain old versions if it's possible with low effort.
1 parent 2cdaf78 commit aeb7c4b

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

bulk-model-sync-lib/mps-test/build.gradle.kts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,14 @@ tasks {
3939
}
4040

4141
test {
42-
onlyIf { mpsMajorVersion != "2020.3" } // incompatible with the intellij plugin
42+
onlyIf {
43+
!setOf(
44+
"2020.3", // incompatible with the intellij plugin
45+
"2021.2", // hangs when executed on CI
46+
"2021.3", // hangs when executed on CI
47+
"2022.2", // hangs when executed on CI
48+
).contains(mpsMajorVersion)
49+
}
4350
jvmArgs("-Dintellij.platform.load.app.info.from.resources=true")
4451
}
4552
}

mps-model-adapters-plugin/build.gradle.kts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,14 @@ tasks {
3434
}
3535

3636
test {
37-
onlyIf { mpsMajorVersion != "2020.3" } // incompatible with the intellij plugin
37+
onlyIf {
38+
!setOf(
39+
"2020.3", // incompatible with the intellij plugin
40+
"2021.2", // hangs when executed on CI
41+
"2021.3", // hangs when executed on CI
42+
"2022.2", // hangs when executed on CI
43+
).contains(mpsMajorVersion)
44+
}
3845
jvmArgs("-Dintellij.platform.load.app.info.from.resources=true")
3946

4047
val arch = System.getProperty("os.arch")

0 commit comments

Comments
 (0)